RangingCapabilitiesCallback


interface RangingCapabilitiesCallback
android.ranging.RangingManager.RangingCapabilitiesCallback

Callback interface to receive the availabilities and capabilities of all the ranging technology supported by the device.

This interface is used to asynchronously provide information about the supported ranging capabilities of the device. The callback is invoked first time when registered and if any capabilities are updated until it is unregistered.

Summary

Public methods
abstract Unit

Called when the ranging capabilities are available.

Public methods

onRangingCapabilities

abstract fun onRangingCapabilities(capabilities: RangingCapabilities): Unit

Called when the ranging capabilities are available.

Parameters
capabilities RangingCapabilities: the RangingCapabilities object containing detailed information about the supported features and limitations of the ranging technology. This value cannot be null.