Status codes for nearby contact tracing results.
Constant Summary
int | FAILED | The operation failed, without any more information. |
int | FAILED_ALREADY_STARTED | The app was already in the requested state so the call did nothing. |
int | FAILED_BLUETOOTH_DISABLED | The bluetooth was powered off. |
int | FAILED_DISK_IO | The operation failed during a disk read/write. |
int | FAILED_KEY_RELEASE_NOT_PREAUTHORIZED | The client hasn't previously requested the pre-release of keys, or else the user denied the request. |
int | FAILED_NOT_IN_FOREGROUND | The client is not currently in the foreground, which is required for the API to return results. |
int | FAILED_NOT_SUPPORTED | The hardware capability of the device was not supported. |
int | FAILED_RATE_LIMITED | The client has been rate limited for access to this API. |
int | FAILED_REJECTED_OPT_IN | The user rejected the opt-in state. |
int | FAILED_SERVICE_DISABLED | The functionality was disabled by the user or the phone. |
int | FAILED_TEMPORARILY_DISABLED | The service was disabled for some reasons temporarily. |
int | FAILED_UNAUTHORIZED | The client is unauthorized to access the APIs. |
Inherited Constant Summary
Public Method Summary
static String |
getStatusCodeString(int statusCode)
Returns an untranslated debug (not user-friendly!) string based on the current
status code.
|
Inherited Method Summary
Constants
public static final int FAILED
The operation failed, without any more information.
public static final int FAILED_ALREADY_STARTED
The app was already in the requested state so the call did nothing.
public static final int FAILED_BLUETOOTH_DISABLED
The bluetooth was powered off.
public static final int FAILED_DISK_IO
The operation failed during a disk read/write.
public static final int FAILED_KEY_RELEASE_NOT_PREAUTHORIZED
The client hasn't previously requested the pre-release of keys, or else the user denied the request.
public static final int FAILED_NOT_IN_FOREGROUND
The client is not currently in the foreground, which is required for the API to return results.
public static final int FAILED_NOT_SUPPORTED
The hardware capability of the device was not supported.
public static final int FAILED_RATE_LIMITED
The client has been rate limited for access to this API.
public static final int FAILED_REJECTED_OPT_IN
The user rejected the opt-in state.
public static final int FAILED_SERVICE_DISABLED
The functionality was disabled by the user or the phone.
public static final int FAILED_TEMPORARILY_DISABLED
The service was disabled for some reasons temporarily.
public static final int FAILED_UNAUTHORIZED
The client is unauthorized to access the APIs.
Public Methods
public static String getStatusCodeString (int statusCode)
Returns an untranslated debug (not user-friendly!) string based on the current status code.