RangingSessionCallback

public interface RangingSessionCallback

Callbacks used by startRanging.

Nested Class Summary

@interface RangingSessionCallback.RangingSuspendedReason Reason why ranging was stopped. 

Public Method Summary

abstract void
onRangingInitialized(UwbDevice device)
Callback when a ranging session has been initiated.
abstract void
onRangingResult(UwbDevice device, RangingPosition position)
Callback when a ranging device's position is received.
abstract void
onRangingSuspended(UwbDevice device, int reason)
Callback when a session has been suspended.

Public Methods

public abstract void onRangingInitialized (UwbDevice device)

Callback when a ranging session has been initiated.

public abstract void onRangingResult (UwbDevice device, RangingPosition position)

Callback when a ranging device's position is received.

public abstract void onRangingSuspended (UwbDevice device, int reason)

Callback when a session has been suspended.