Share via


WifiP2pWfdInfo.DeviceType Property

Definition

Get the type of the device.

public int DeviceType { [Android.Runtime.Register("getDeviceType", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getDeviceType", "()I", "", ApiSince=30)>]
member this.DeviceType : int

Property Value

Attributes

Remarks

Get the type of the device. One of #DEVICE_TYPE_WFD_SOURCE, #DEVICE_TYPE_PRIMARY_SINK, #DEVICE_TYPE_SECONDARY_SINK, #DEVICE_TYPE_SOURCE_OR_PRIMARY_SINK

Java documentation for android.net.wifi.p2p.WifiP2pWfdInfo.getDeviceType().

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