RangingSessionCallback.RangingSuspendedReason

  • RangingSessionCallback.RangingSuspendedReason is an annotation that indicates why a ranging session was stopped.

  • The class defines several constant integer values representing different reasons for suspension, such as FAILED_TO_START, STOPPED_BY_PEER, and SYSTEM_POLICY.

  • It inherits standard annotation methods like annotationType, equals, hashCode, and toString from the java.lang.annotation.Annotation interface.

public static abstract @interface RangingSessionCallback.RangingSuspendedReason implements Annotation

Reason why ranging was stopped.

Constant Summary

int FAILED_TO_START
int MAX_RANGING_ROUND_RETRY_REACHED
int STOPPED_BY_PEER
int STOP_RANGING_CALLED
int SYSTEM_POLICY
int UNKNOWN
int WRONG_PARAMETERS

Inherited Method Summary

Constants

public static final int FAILED_TO_START

Constant Value: 2

public static final int MAX_RANGING_ROUND_RETRY_REACHED

Constant Value: 5

public static final int STOPPED_BY_PEER

Constant Value: 3

public static final int STOP_RANGING_CALLED

Constant Value: 4

public static final int SYSTEM_POLICY

Constant Value: 6

public static final int UNKNOWN

Constant Value: 0

public static final int WRONG_PARAMETERS

Constant Value: 1