Share via


WifiP2pDevice.PrimaryDeviceType Property

Definition

Primary device type identifies the type of device.

[Android.Runtime.Register("primaryDeviceType")]
public string? PrimaryDeviceType { get; set; }
[<Android.Runtime.Register("primaryDeviceType")>]
member this.PrimaryDeviceType : string with get, set

Property Value

Attributes

Remarks

Primary device type identifies the type of device. For example, an application could filter the devices discovered to only display printers if the purpose is to enable a printing action from the user. See the Wi-Fi Direct technical specification for the full list of standard device types supported.

Java documentation for android.net.wifi.p2p.WifiP2pDevice.primaryDeviceType.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to