UwbAvailabilityObserver.UwbStateChangeReason
Reason why UWB state changed
Inherited Method Summary
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation>
|
annotationType()
|
abstract boolean |
|
abstract int |
hashCode()
|
abstract String
|
toString()
|
Constants
public static final int
REASON_COUNTRY_CODE_ERROR
public static final int
REASON_SYSTEM_POLICY
public static final int
REASON_UNKNOWN
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`UwbAvailabilityObserver.UwbStateChangeReason` is an annotation interface indicating the reason for an Ultra-wideband (UWB) state change."],["It defines three constants: `REASON_COUNTRY_CODE_ERROR`, `REASON_SYSTEM_POLICY`, and `REASON_UNKNOWN`, representing different reasons for the UWB state change."],["These constants are represented by integer values: 2 for country code error, 1 for system policy, and 0 for an unknown reason."],["This annotation inherits methods from the `java.lang.annotation.Annotation` interface, such as `annotationType()`, `equals()`, `hashCode()`, and `toString()`."]]],["`UwbAvailabilityObserver.UwbStateChangeReason` is an annotation interface detailing reasons for UWB state changes. It defines three constant integer reasons: `REASON_COUNTRY_CODE_ERROR` (value 2), indicating a country code issue; `REASON_SYSTEM_POLICY` (value 1), signifying a system policy restriction; and `REASON_UNKNOWN` (value 0) for unspecified issues. It also inherits methods like `annotationType`, `equals`, `hashCode`, and `toString` from the `Annotation` interface.\n"]]