RangingDeviceRole Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a device's role in a ranging session.
public enum RangingDeviceRole
type RangingDeviceRole =
- Inheritance
-
RangingDeviceRole
Fields
| Name | Value | Description |
|---|---|---|
| Responder | 0 | The device that responds to a session. Android reference for 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. |
| Initiator | 1 | The device that initiates the session. Android reference for 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. |
| DeviceRoleDtTag | 2 | The device that is a DT tag. This is only allowed in the RAW API usage. Android reference for 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. |
Remarks
An initiator starts the session, while a responder responds to it. The downlink time-difference-of-arrival tag role is available only with raw ranging configurations.