UwbAvailabilityObserver

public interfaceUwbAvailabilityObserver

Observer for UWB availability change events.

When UWB state is changed, onUwbStateChanged(boolean, int)will be called, sending back the current UWB state and the state change reason.

Nested Class Summary

@interface UwbAvailabilityObserver.UwbStateChangeReason Reason why UWB state changed

Public Method Summary

abstract void
onUwbStateChanged(boolean isAvailable, int reason)
Called when UWB state is changed.

Public Methods

public abstract voidonUwbStateChanged(boolean isAvailable, int reason)

Called when UWB state is changed.

Parameters
isAvailable whether UWB is available or not
reason the reason why UWB state changed