ExposureNotificationStatusCodes

public final class ExposureNotificationStatusCodes extends CommonStatusCodes

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.

Constant Value: 13

public static final int FAILED_ALREADY_STARTED

The app was already in the requested state so the call did nothing.

Constant Value: 39500

public static final int FAILED_BLUETOOTH_DISABLED

The bluetooth was powered off.

Constant Value: 39504

public static final int FAILED_DISK_IO

The operation failed during a disk read/write.

Constant Value: 39506

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.

Constant Value: 39510

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.

Constant Value: 39509

public static final int FAILED_NOT_SUPPORTED

The hardware capability of the device was not supported.

Constant Value: 39501

public static final int FAILED_RATE_LIMITED

The client has been rate limited for access to this API.

Constant Value: 39508

public static final int FAILED_REJECTED_OPT_IN

The user rejected the opt-in state.

Constant Value: 39502

public static final int FAILED_SERVICE_DISABLED

The functionality was disabled by the user or the phone.

Constant Value: 39503

public static final int FAILED_TEMPORARILY_DISABLED

The service was disabled for some reasons temporarily.

Constant Value: 39505

public static final int FAILED_UNAUTHORIZED

The client is unauthorized to access the APIs.

Constant Value: 39507

Public Methods

public static String getStatusCodeString (int statusCode)

Returns an untranslated debug (not user-friendly!) string based on the current status code.