Android.Ranging Namespace
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.
Provides APIs to query ranging capabilities, configure ranging sessions, and receive distance and angle measurements from nearby devices.
Classes
| Name | Description |
|---|---|
| DataNotificationConfig |
Represents the configuration for data notifications in ranging operations. |
| DataNotificationConfig.Builder |
Builder for |
| DataNotificationConfig.InterfaceConsts |
Provides the parcelable constants inherited by DataNotificationConfig. |
| DlTdoaMeasurement |
Represents a single measurement from a Downlink Time Difference of Arrival (DL-TDoA) ranging session. |
| DlTdoaMeasurement.AnchorLocation |
Class to represent the anchor location. |
| DlTdoaMeasurement.AnchorLocation.InterfaceConsts |
Provides the parcelable constants inherited by DlTdoaMeasurement.AnchorLocation. |
| DlTdoaMeasurement.InterfaceConsts |
Provides the parcelable constants inherited by DlTdoaMeasurement. |
| DlTdoaMeasurement.RelativeLocation |
Represents a location in a relative coordinate system. |
| DlTdoaMeasurement.RelativeLocation.InterfaceConsts |
Provides the parcelable constants inherited by DlTdoaMeasurement.RelativeLocation. |
| DlTdoaMeasurement.Wgs84Location |
Represents a location in the WGS-84 coordinate system. |
| DlTdoaMeasurement.Wgs84Location.InterfaceConsts |
Provides the parcelable constants inherited by DlTdoaMeasurement.Wgs84Location. |
| DlTdoaMeasurement.ZElementExtension |
Represents a Z-element extension regarding the height of a anchor. |
| DlTdoaMeasurement.ZElementExtension.InterfaceConsts |
Provides the parcelable constants inherited by DlTdoaMeasurement.ZElementExtension. |
| MotionState |
Represents the motion state of a ranging device. |
| MotionState.InterfaceConsts |
Provides the parcelable constants inherited by MotionState. |
| RangingCapabilities |
Represents the capabilities and availability of various ranging technologies. |
| RangingCapabilities.InterfaceConsts |
Provides the parcelable constants inherited by RangingCapabilities. |
| RangingConfig |
Abstract class to represent type of ranging configuration. |
| RangingConfig.InterfaceConsts |
Provides the parcelable constants inherited by RangingConfig. |
| RangingData |
Represents ranging data, including distance, azimuth, elevation, and RSSI measurements, along with the ranging technology used and a timestamp. |
| RangingData.InterfaceConsts |
Provides the parcelable constants inherited by RangingData. |
| RangingDataExtras |
Represents extra ranging data from various technologies. |
| RangingDataExtras.InterfaceConsts |
Provides the parcelable constants inherited by RangingDataExtras. |
| RangingDevice |
Represents a ranging device identified by a unique UUID. |
| RangingDevice.Builder |
A builder class for creating instances of |
| RangingDevice.InterfaceConsts |
Provides the parcelable constants inherited by RangingDevice. |
| RangingManager |
This class provides a way to perform ranging operations such as querying the device's capabilities and determining the distance and angle between the local device and a remote device. |
| RangingMeasurement |
Represents a ranging measurement. |
| RangingMeasurement.InterfaceConsts |
Provides the parcelable constants inherited by RangingMeasurement. |
| RangingPreference |
Represents the configuration preferences for a ranging session. |
| RangingPreference.Builder |
Builder for creating instances of |
| RangingPreference.InterfaceConsts |
Provides the parcelable constants inherited by RangingPreference. |
| RangingSession |
Represents a session for performing ranging operations. |
| SensorFusionParams |
Configuration for the sensor fusion algorithm to use in a ranging session. |
| SensorFusionParams.Builder |
Builder class for creating instances of |
| SensorFusionParams.InterfaceConsts |
Provides the parcelable constants inherited by SensorFusionParams. |
| SessionConfig |
Defines the ranging session configurations. |
| SessionConfig.Builder |
Builder for creating instances of |
| SessionConfig.InterfaceConsts |
Provides the parcelable constants inherited by SessionConfig. |
Interfaces
| Name | Description |
|---|---|
| RangingManager.IRangingCapabilitiesCallback |
Callback interface to receive the availabilities and capabilities of all the ranging technology supported by the device. |
| RangingSession.ICallback |
Callback interface for receiving ranging session events. |
Enums
| Name | Description |
|---|---|
| AntennaMode |
Specifies which antenna to use to transmit and receive ranging signals. |
| CoordinateType |
Identifies the coordinate system and height extension of a downlink time-difference-of-arrival anchor location. |
| DataNotificationConfigType |
Specifies whether ranging data notifications are disabled, enabled, or controlled by proximity thresholds. |
| MessageType |
Identifies a poll, response, or final message in downlink time-difference-of-arrival ranging. |
| MovementExpectation |
Specifies whether a ranging anchor's location is expected to change. |
| RangingCapabilitiesStatus |
Indicates whether a ranging technology is available and, if not, why it is unavailable. |
| RangingConfigSessionType |
Specifies who performs the out-of-band negotiation for a ranging session. |
| RangingDeviceRole |
Specifies a device's role in a ranging session. |
| RangingManagerType |
Identifies the radio technology used for ranging. |
| RangingMeasurementConfidence |
Indicates the confidence level of a ranging measurement. |
| RangingMotion |
Classifies detected motion by the amount of orientation change. |
| RangingSessionCallbackReason |
Identifies the reason reported when a ranging session fails to open or is closed. |
Remarks
RangingManager provides access to device capabilities and creates RangingSession instances. Session callbacks report measurements and changes to session state.
RangingPreference combines the device role and ranging parameters with session options. SessionConfig controls sensor fusion, data notifications, angle-of-arrival requests, and the measurement limit.