Stay organized with collections
Save and categorize content based on your preferences.
android.ranging
Interfaces
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-03-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-13 UTC."],[],[],null,["# android.ranging\n\nAdded in [API level 36](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nandroid.ranging\n===============\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/ranging/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|---------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|\n| [RangingManager.RangingCapabilitiesCallback](/reference/android/ranging/RangingManager.RangingCapabilitiesCallback) | Callback interface to receive the availabilities and capabilities of all the ranging technology supported by the device. |\n| [RangingSession.Callback](/reference/android/ranging/RangingSession.Callback) | Callback interface for receiving ranging session events. |\n\nClasses\n-------\n\n|---------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DataNotificationConfig](/reference/android/ranging/DataNotificationConfig) | Represents the configuration for data notifications in ranging operations. |\n| [DataNotificationConfig.Builder](/reference/android/ranging/DataNotificationConfig.Builder) | Builder for [DataNotificationConfig](/reference/android/ranging/DataNotificationConfig) |\n| [RangingCapabilities](/reference/android/ranging/RangingCapabilities) | Represents the capabilities and availability of various ranging technologies. |\n| [RangingConfig](/reference/android/ranging/RangingConfig) | Abstract class to represent type of ranging configuration. |\n| [RangingData](/reference/android/ranging/RangingData) | Represents ranging data, including distance, azimuth, elevation, and RSSI measurements, along with the ranging technology used and a timestamp. |\n| [RangingDevice](/reference/android/ranging/RangingDevice) | Represents a ranging device identified by a unique UUID. |\n| [RangingDevice.Builder](/reference/android/ranging/RangingDevice.Builder) | A builder class for creating instances of [RangingDevice](/reference/android/ranging/RangingDevice). |\n| [RangingManager](/reference/android/ranging/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. |\n| [RangingMeasurement](/reference/android/ranging/RangingMeasurement) | Represents a ranging measurement. |\n| [RangingPreference](/reference/android/ranging/RangingPreference) | Represents the configuration preferences for a ranging session. |\n| [RangingPreference.Builder](/reference/android/ranging/RangingPreference.Builder) | Builder for creating instances of `RangingPreference`. |\n| [RangingSession](/reference/android/ranging/RangingSession) | Represents a session for performing ranging operations. |\n| [SensorFusionParams](/reference/android/ranging/SensorFusionParams) | Represents the parameters for sensor fusion in ranging operations. |\n| [SensorFusionParams.Builder](/reference/android/ranging/SensorFusionParams.Builder) | Builder class for creating instances of [SensorFusionParams](/reference/android/ranging/SensorFusionParams). |\n| [SessionConfig](/reference/android/ranging/SessionConfig) | Defines the ranging session configurations. |\n| [SessionConfig.Builder](/reference/android/ranging/SessionConfig.Builder) | Builder for creating instances of [SessionConfig](/reference/android/ranging/SessionConfig). |\n\n-\n\n Interfaces\n ----------\n\n - [RangingManager.RangingCapabilitiesCallback](/reference/android/ranging/RangingManager.RangingCapabilitiesCallback)\n - [RangingSession.Callback](/reference/android/ranging/RangingSession.Callback)\n-\n\n Classes\n -------\n\n - [DataNotificationConfig](/reference/android/ranging/DataNotificationConfig)\n - [DataNotificationConfig.Builder](/reference/android/ranging/DataNotificationConfig.Builder)\n - [RangingCapabilities](/reference/android/ranging/RangingCapabilities)\n - [RangingConfig](/reference/android/ranging/RangingConfig)\n - [RangingData](/reference/android/ranging/RangingData)\n - [RangingDevice](/reference/android/ranging/RangingDevice)\n - [RangingDevice.Builder](/reference/android/ranging/RangingDevice.Builder)\n - [RangingManager](/reference/android/ranging/RangingManager)\n - [RangingMeasurement](/reference/android/ranging/RangingMeasurement)\n - [RangingPreference](/reference/android/ranging/RangingPreference)\n - [RangingPreference.Builder](/reference/android/ranging/RangingPreference.Builder)\n - [RangingSession](/reference/android/ranging/RangingSession)\n - [SensorFusionParams](/reference/android/ranging/SensorFusionParams)\n - [SensorFusionParams.Builder](/reference/android/ranging/SensorFusionParams.Builder)\n - [SessionConfig](/reference/android/ranging/SessionConfig)\n - [SessionConfig.Builder](/reference/android/ranging/SessionConfig.Builder)"]]