Partager via


WifiP2pWfdInfo.R2DeviceType Property

Definition

Get the type of the R2 device.

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

Property Value

Attributes

Remarks

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

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

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