UwbStatusCodes
Stay organized with collections
Save and categorize content based on your preferences.
Status codes for nearby uwb results.
Inherited Constant Summary
From class
com.google.android.gms.common.api.CommonStatusCodes
int |
API_NOT_CONNECTED |
|
int |
CANCELED |
|
int |
CONNECTION_SUSPENDED_DURING_CALL |
|
int |
DEVELOPER_ERROR |
|
int |
ERROR |
|
int |
INTERNAL_ERROR |
|
int |
INTERRUPTED |
|
int |
INVALID_ACCOUNT |
|
int |
NETWORK_ERROR |
|
int |
RECONNECTION_TIMED_OUT |
|
int |
RECONNECTION_TIMED_OUT_DURING_UPDATE |
|
int |
REMOTE_EXCEPTION |
|
int |
RESOLUTION_REQUIRED |
|
int |
SERVICE_DISABLED |
|
int |
SERVICE_VERSION_UPDATE_REQUIRED |
|
int |
SIGN_IN_REQUIRED |
|
int |
SUCCESS |
|
int |
SUCCESS_CACHE |
|
int |
TIMEOUT |
|
Inherited Method Summary
From class
com.google.android.gms.common.api.CommonStatusCodes
getStatusCodeString
(int arg0)
From class java.lang.Object
Constants
public static final int
INVALID_API_CALL
The call is not valid. For example, get Complex Channel for the controlee.
Constant Value:
42002
public static final int
NULL_RANGING_DEVICE
The RangingDevice is null for controller or controlee.
Constant Value:
42001
public static final int
RANGING_ALREADY_STARTED
The ranging is already started, this is a duplicated request.
Constant Value:
42003
public static final int
SERVICE_NOT_AVAILABLE
The service not available on this device.
Constant Value:
42000
public static final int
STATUS_ERROR
The operation failed, without any more information.
Constant Value:
13
public static final int
STATUS_OK
The operation was successful.
Constant Value:
0
public static final int
UWB_SYSTEM_CALLBACK_FAILURE
Unusual failures happened in UWB system callback, such as stopping ranging or
removing a known controlee failed.
Constant Value:
42005
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eUwbStatusCodes\u003c/code\u003e defines status codes for Ultra-wideband (UWB) operations in Nearby APIs.\u003c/p\u003e\n"],["\u003cp\u003eIt includes codes for common UWB errors such as invalid API calls, null ranging devices, and ranging already started.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits common status codes from \u003ccode\u003eCommonStatusCodes\u003c/code\u003e for generic API results.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful UWB operations are indicated by \u003ccode\u003eSTATUS_OK\u003c/code\u003e (0), while various error conditions have specific status codes.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use these status codes to handle UWB operation outcomes and provide appropriate feedback to users.\u003c/p\u003e\n"]]],[],null,["# UwbStatusCodes\n\npublic final class **UwbStatusCodes** extends [CommonStatusCodes](/android/reference/com/google/android/gms/common/api/CommonStatusCodes) \nStatus codes for nearby uwb results. \n\n### Constant Summary\n\n|-----|--------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| int | [INVALID_API_CALL](/android/reference/com/google/android/gms/nearby/uwb/UwbStatusCodes#INVALID_API_CALL) | The call is not valid. |\n| int | [NULL_RANGING_DEVICE](/android/reference/com/google/android/gms/nearby/uwb/UwbStatusCodes#NULL_RANGING_DEVICE) | The RangingDevice is null for controller or controlee. |\n| int | [RANGING_ALREADY_STARTED](/android/reference/com/google/android/gms/nearby/uwb/UwbStatusCodes#RANGING_ALREADY_STARTED) | The ranging is already started, this is a duplicated request. |\n| int | [SERVICE_NOT_AVAILABLE](/android/reference/com/google/android/gms/nearby/uwb/UwbStatusCodes#SERVICE_NOT_AVAILABLE) | The service not available on this device. |\n| int | [STATUS_ERROR](/android/reference/com/google/android/gms/nearby/uwb/UwbStatusCodes#STATUS_ERROR) | The operation failed, without any more information. |\n| int | [STATUS_OK](/android/reference/com/google/android/gms/nearby/uwb/UwbStatusCodes#STATUS_OK) | The operation was successful. |\n| int | [UWB_SYSTEM_CALLBACK_FAILURE](/android/reference/com/google/android/gms/nearby/uwb/UwbStatusCodes#UWB_SYSTEM_CALLBACK_FAILURE) | Unusual failures happened in UWB system callback, such as stopping ranging or removing a known controlee failed. |\n\n### Inherited Constant Summary\n\nFrom class com.google.android.gms.common.api.CommonStatusCodes \n\n|-----|--------------------------------------|---|\n| int | API_NOT_CONNECTED | |\n| int | CANCELED | |\n| int | CONNECTION_SUSPENDED_DURING_CALL | |\n| int | DEVELOPER_ERROR | |\n| int | ERROR | |\n| int | INTERNAL_ERROR | |\n| int | INTERRUPTED | |\n| int | INVALID_ACCOUNT | |\n| int | NETWORK_ERROR | |\n| int | RECONNECTION_TIMED_OUT | |\n| int | RECONNECTION_TIMED_OUT_DURING_UPDATE | |\n| int | REMOTE_EXCEPTION | |\n| int | RESOLUTION_REQUIRED | |\n| int | SERVICE_DISABLED | |\n| int | SERVICE_VERSION_UPDATE_REQUIRED | |\n| int | SIGN_IN_REQUIRED | |\n| int | SUCCESS | |\n| int | SUCCESS_CACHE | |\n| int | TIMEOUT | |\n\n### Inherited Method Summary\n\nFrom class com.google.android.gms.common.api.CommonStatusCodes \n\n|--------------------------------------------------------------------------|-------------------------------|\n| static [String](//developer.android.com/reference/java/lang/String.html) | getStatusCodeString(int arg0) |\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nConstants\n---------\n\n#### public static final int\n**INVALID_API_CALL**\n\nThe call is not valid. For example, get Complex Channel for the controlee. \nConstant Value: 42002 \n\n#### public static final int\n**NULL_RANGING_DEVICE**\n\nThe RangingDevice is null for controller or controlee. \nConstant Value: 42001 \n\n#### public static final int\n**RANGING_ALREADY_STARTED**\n\nThe ranging is already started, this is a duplicated request. \nConstant Value: 42003 \n\n#### public static final int\n**SERVICE_NOT_AVAILABLE**\n\nThe service not available on this device. \nConstant Value: 42000 \n\n#### public static final int\n**STATUS_ERROR**\n\nThe operation failed, without any more information. \nConstant Value: 13 \n\n#### public static final int\n**STATUS_OK**\n\nThe operation was successful. \nConstant Value: 0 \n\n#### public static final int\n**UWB_SYSTEM_CALLBACK_FAILURE**\n\nUnusual failures happened in UWB system callback, such as stopping ranging or\nremoving a known controlee failed. \nConstant Value: 42005"]]