Summary: Constants | Inherited Constants | Methods | Inherited Methods | [Expand All]
public class

# AwarenessStatusCodes

extends CommonStatusCodes

java.lang.Object
↳ | com.google.android.gms.common.api.CommonStatusCodes
| ↳ | com.google.android.gms.awareness.AwarenessStatusCodes

## Class Overview

Awareness specific status codes, for use in `getStatusCode()`.

## Summary

Constants
int | ACL_ACCESS_DENIED | ACL authentication failed.
int | API_NOT_AVAILABLE | The client is not eligible to use this particular API.
int | BAD_ACCOUNT | The specified account was invalid.
int | BLUETOOTH_OFF | Bluetooth is turned off.
int | FENCE_NOT_AVAILABLE | A fence is not available.
int | INCONSISTENT_ACCOUNT | The account passed to an API method is different from the account that was specified in ContextManagerClientInfo when connecting.
int | INCONSISTENT_MODULE_ID | The module ID passed to an API method is different from the module ID that was specified in ContextManagerClientInfo when connecting.
int | INCONSISTENT_UID | The client's process has an unexpected UID.
int | INTERNAL_API_CLIENT_CONNECTION_FAILED | The GoogleApiClient connection failed.
int | MAX_LIMIT_OF_FENCE_REGISTRATIONS_EXCEEDED | The maximum available number of fence registrations for a client has been reached.

[Expand] Inherited Constants
From class com.google.android.gms.common.api.CommonStatusCodes
int | API_NOT_CONNECTED | The client attempted to call a method from an API that failed to connect.
int | CANCELED | The result was canceled either due to client disconnect or `cancel()`.
int | DEVELOPER_ERROR | The application is misconfigured.
int | ERROR | The operation failed with no more detailed information.
int | INTERNAL_ERROR | An internal error occurred.
int | INTERRUPTED | A blocking call was interrupted while waiting and did not run to completion.
int | INVALID_ACCOUNT | The client attempted to connect to the service with an invalid account name specified.
int | NETWORK_ERROR | A network error occurred.
int | RESOLUTION_REQUIRED | Completing the operation requires some form of resolution.
int | SERVICE_DISABLED | This constant is deprecated. This case handled during connection, not during API requests. No results should be returned with this status code.
int | SERVICE_VERSION_UPDATE_REQUIRED | This constant is deprecated. This case handled during connection, not during API requests. No results should be returned with this status code.
int | SIGN_IN_REQUIRED | The client attempted to connect to the service but the user is not signed in.
int | SUCCESS | The operation was successful.
int | SUCCESS_CACHE | The operation was successful, but was used the device's cache.
int | TIMEOUT | Timed out while awaiting the result.

Public Methods
static String | getStatusCodeString(int statusCode) A human-readable String of the status code.

[Expand] Inherited Methods
From class com.google.android.gms.common.api.CommonStatusCodes
static String | getStatusCodeString(int statusCode)
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Constants

#### public static final int ACL_ACCESS_DENIED

ACL authentication failed.

Constant Value: 7503 (0x00001d4f)

#### public static final int API_NOT_AVAILABLE

The client is not eligible to use this particular API.

Constant Value: 7512 (0x00001d58)

#### public static final int BAD_ACCOUNT

The specified account was invalid.

Constant Value: 7504 (0x00001d50)

#### public static final int BLUETOOTH_OFF

Bluetooth is turned off.

Constant Value: 7506 (0x00001d52)

#### public static final int FENCE_NOT_AVAILABLE

A fence is not available.

Constant Value: 7514 (0x00001d5a)

#### public static final int INCONSISTENT_ACCOUNT

The account passed to an API method is different from the account that was specified in ContextManagerClientInfo when connecting.

Constant Value: 7510 (0x00001d56)

#### public static final int INCONSISTENT_MODULE_ID

The module ID passed to an API method is different from the module ID that was specified in ContextManagerClientInfo when connecting.

Constant Value: 7511 (0x00001d57)

#### public static final int INCONSISTENT_UID

The client's process has an unexpected UID.

Constant Value: 7513 (0x00001d59)

#### public static final int INTERNAL_API_CLIENT_CONNECTION_FAILED

The GoogleApiClient connection failed.

Constant Value: 7507 (0x00001d53)

#### public static final int MAX_LIMIT_OF_FENCE_REGISTRATIONS_EXCEEDED

The maximum available number of fence registrations for a client has been reached.

Constant Value: 7515 (0x00001d5b)

## Public Methods

#### public static String getStatusCodeString (int statusCode)

A human-readable String of the status code.

##### Returns

- human-readable String of the status code.