UwbStatusCodes

  • 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.

public final class UwbStatusCodes extends CommonStatusCodes

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.

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