Taal

RangingPreference.DeviceRole Property

Definition

Returns the device role.

public Android.Ranging.RangingDeviceRole DeviceRole { [Android.Runtime.Register("getDeviceRole", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getDeviceRole", "()I", "", ApiSince=36)>]
member this.DeviceRole : Android.Ranging.RangingDeviceRole

Property Value

Value is one of the following: DEVICE_ROLE_RESPONDER; DEVICE_ROLE_INITIATOR; DEVICE_ROLE_DT_TAG

Attributes

Remarks

Returns the device role.

Java documentation for android.ranging.RangingPreference.getDeviceRole().

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