Uwb Adapter
Provides access to UWB adapter state and capabilities.
state is a snapshot captured at construction time. Unlike BLE, the Android UWB SDK does not provide a state-change broadcast — create a new adapter instance to re-query.
Obtain an instance via UwbAdapter factory function.
Functions
Link copied to clipboard
Link copied to clipboard
Prepare a UWB ranging session without starting it.
Link copied to clipboard
suspend fun UwbAdapter.startWithConnector(config: RangingConfig, connector: PeerConnector): RangingSession
Prepare a UWB session, exchange parameters via connector, and start ranging.