com.google.android.gms.nearby.uwb
Stay organized with collections
Save and categorize content based on your preferences.
Annotations
Interfaces
Classes
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003eThe Nearby UWB API enables interactions with nearby UWB devices to perform ranging and obtain distance measurements.\u003c/p\u003e\n"],["\u003cp\u003eIt provides interfaces for managing ranging sessions, observing UWB availability, and controlling UWB devices.\u003c/p\u003e\n"],["\u003cp\u003eClasses define ranging parameters, capabilities, measurements, and device representations.\u003c/p\u003e\n"],["\u003cp\u003eAnnotations provide details on ranging update rates, slot durations, and UWB configurations.\u003c/p\u003e\n"],["\u003cp\u003eStatus codes and callback mechanisms offer insights into ranging results and session states.\u003c/p\u003e\n"]]],[],null,["# com.google.android.gms.nearby.uwb\n\n### Annotations\n\n|-----------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------|\n| [RangingParameters.RangingUpdateRate](/android/reference/com/google/android/gms/nearby/uwb/RangingParameters.RangingUpdateRate) | Update rate settings. |\n| [RangingParameters.SlotDuration](/android/reference/com/google/android/gms/nearby/uwb/RangingParameters.SlotDuration) | Slot duration settings. |\n| [RangingParameters.UwbConfigId](/android/reference/com/google/android/gms/nearby/uwb/RangingParameters.UwbConfigId) | Represents which Config ID should be used. |\n| [RangingSessionCallback.RangingSuspendedReason](/android/reference/com/google/android/gms/nearby/uwb/RangingSessionCallback.RangingSuspendedReason) | Reason why ranging was stopped. |\n| [UwbAvailabilityObserver.UwbStateChangeReason](/android/reference/com/google/android/gms/nearby/uwb/UwbAvailabilityObserver.UwbStateChangeReason) | Reason why UWB state changed |\n| [UwbRangeDataNtfConfig.RangeDataNtfConfig](/android/reference/com/google/android/gms/nearby/uwb/UwbRangeDataNtfConfig.RangeDataNtfConfig) | Represents which range data notification config is selected. |\n\n### Interfaces\n\n|---------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|\n| [RangingSessionCallback](/android/reference/com/google/android/gms/nearby/uwb/RangingSessionCallback) | Callbacks used by startRanging. |\n| [UwbAvailabilityObserver](/android/reference/com/google/android/gms/nearby/uwb/UwbAvailabilityObserver) | Observer for UWB availability change events. |\n| [UwbClient](/android/reference/com/google/android/gms/nearby/uwb/UwbClient) | Interface for getting UWB capabilities and interacting with nearby UWB devices to perform ranging. |\n\n### Classes\n\n|---------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [RangingCapabilities](/android/reference/com/google/android/gms/nearby/uwb/RangingCapabilities) | Describes UWB ranging capabilities for the current device. |\n| [RangingControleeParameters](/android/reference/com/google/android/gms/nearby/uwb/RangingControleeParameters) | Parameters passed to controller for [UwbClient.addControleeWithSessionParams(RangingControleeParameters)](/android/reference/com/google/android/gms/nearby/uwb/UwbClient#addControleeWithSessionParams(com.google.android.gms.nearby.uwb.RangingControleeParameters)) when Provisioned STS individual key is used. |\n| [RangingMeasurement](/android/reference/com/google/android/gms/nearby/uwb/RangingMeasurement) | Measurement providing the value and confidence of the ranging. |\n| [RangingParameters](/android/reference/com/google/android/gms/nearby/uwb/RangingParameters) | Set of parameters which should be passed to the UWB chip to start ranging. |\n| [RangingParameters.Builder](/android/reference/com/google/android/gms/nearby/uwb/RangingParameters.Builder) | Builder for creating [RangingParameters](/android/reference/com/google/android/gms/nearby/uwb/RangingParameters). |\n| [RangingPosition](/android/reference/com/google/android/gms/nearby/uwb/RangingPosition) | Position of a device during ranging. |\n| [UwbAddress](/android/reference/com/google/android/gms/nearby/uwb/UwbAddress) | Represents a UWB address. |\n| [UwbComplexChannel](/android/reference/com/google/android/gms/nearby/uwb/UwbComplexChannel) | Represents the channel which a UWB device is currently active on. |\n| [UwbComplexChannel.Builder](/android/reference/com/google/android/gms/nearby/uwb/UwbComplexChannel.Builder) | Creates a new instance of [UwbComplexChannel](/android/reference/com/google/android/gms/nearby/uwb/UwbComplexChannel). |\n| [UwbDevice](/android/reference/com/google/android/gms/nearby/uwb/UwbDevice) | Represents a UWB device. |\n| [UwbRangeDataNtfConfig](/android/reference/com/google/android/gms/nearby/uwb/UwbRangeDataNtfConfig) | Configurable range data notification reports for a UWB session. |\n| [UwbRangeDataNtfConfig.Builder](/android/reference/com/google/android/gms/nearby/uwb/UwbRangeDataNtfConfig.Builder) | Creates a new instance of [UwbRangeDataNtfConfig](/android/reference/com/google/android/gms/nearby/uwb/UwbRangeDataNtfConfig). |\n| [UwbStatusCodes](/android/reference/com/google/android/gms/nearby/uwb/UwbStatusCodes) | Status codes for nearby uwb results. |"]]