AI-generated Key Takeaways
-
UwbStatusCodes provides status codes for nearby UWB results.
-
Key status codes include success (STATUS_OK), general error (STATUS_ERROR), and specific errors like SERVICE_NOT_AVAILABLE, INVALID_API_CALL, NULL_RANGING_DEVICE, RANGING_ALREADY_STARTED, and UWB_SYSTEM_CALLBACK_FAILURE.
-
UwbStatusCodes inherits status codes from CommonStatusCodes, such as CANCELED, TIMEOUT, and INTERNAL_ERROR.
-
The class includes a method getStatusCodeString(int arg0) for retrieving the string representation of a status code.
Status codes for nearby uwb results.
Constant Summary
| int | INVALID_API_CALL | The call is not valid. |
| int | NULL_RANGING_DEVICE | The RangingDevice is null for controller or controlee. |
| int | RANGING_ALREADY_STARTED | The ranging is already started, this is a duplicated request. |
| int | SERVICE_NOT_AVAILABLE | The service not available on this device. |
| int | STATUS_ERROR | The operation failed, without any more information. |
| int | STATUS_OK | The operation was successful. |
| int | UWB_SYSTEM_CALLBACK_FAILURE | Unusual failures happened in UWB system callback, such as stopping ranging or removing a known controlee failed. |
Inherited Constant Summary
Inherited Method Summary
Constants
public static final int INVALID_API_CALL
The call is not valid. For example, get Complex Channel for the controlee.
public static final int NULL_RANGING_DEVICE
The RangingDevice is null for controller or controlee.
public static final int RANGING_ALREADY_STARTED
The ranging is already started, this is a duplicated request.
public static final int SERVICE_NOT_AVAILABLE
The service not available on this device.
public static final int STATUS_ERROR
The operation failed, without any more information.
public static final int STATUS_OK
The operation was successful.
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.