public final class

AppStateStatusCodes

extends Object
java.lang.Object
   ↳ com.google.android.gms.appstate.AppStateStatusCodes

Class Overview

Status codes for AppState results.

Summary

Constants
int STATUS_CLIENT_RECONNECT_REQUIRED The GoogleApiClient is in an inconsistent state and must reconnect to the service to resolve the issue.
int STATUS_DEVELOPER_ERROR Your application is incorrectly configured.
int STATUS_INTERNAL_ERROR An unspecified error occurred; no more specific information is available.
int STATUS_INTERRUPTED Was interrupted while waiting for the result.
int STATUS_NETWORK_ERROR_NO_DATA A network error occurred while attempting to retrieve fresh data, and no data was available locally.
int STATUS_NETWORK_ERROR_OPERATION_DEFERRED A network error occurred while attempting to modify data, but the data was successfully modified locally and will be updated on the network the next time the device is able to sync.
int STATUS_NETWORK_ERROR_OPERATION_FAILED A network error occurred while attempting to perform an operation that requires network access.
int STATUS_NETWORK_ERROR_STALE_DATA A network error occurred while attempting to retrieve fresh data, but some locally cached data was available.
int STATUS_OK The operation was successful.
int STATUS_STATE_KEY_LIMIT_EXCEEDED The application already has data in the maximum number of keys (data slots) and is attempting to create a new one.
int STATUS_STATE_KEY_NOT_FOUND The requested state key was not found.
int STATUS_TIMEOUT The operation timed out while awaiting the result.
int STATUS_WRITE_OUT_OF_DATE_VERSION A version conflict was detected.
int STATUS_WRITE_SIZE_EXCEEDED A write request was submitted which contained too much data for the server.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int STATUS_CLIENT_RECONNECT_REQUIRED

The GoogleApiClient is in an inconsistent state and must reconnect to the service to resolve the issue. Further calls to the service using the current connection are unlikely to succeed.

Constant Value: 2 (0x00000002)

public static final int STATUS_DEVELOPER_ERROR

Your application is incorrectly configured. This is a hard error, since retrying will not fix this.

Constant Value: 7 (0x00000007)

public static final int STATUS_INTERNAL_ERROR

An unspecified error occurred; no more specific information is available. The device logs may provide additional data.

Constant Value: 1 (0x00000001)

public static final int STATUS_INTERRUPTED

Was interrupted while waiting for the result. Only returned if using an PendingResult directly.

Constant Value: 14 (0x0000000e)

public static final int STATUS_NETWORK_ERROR_NO_DATA

A network error occurred while attempting to retrieve fresh data, and no data was available locally.

Constant Value: 4 (0x00000004)

public static final int STATUS_NETWORK_ERROR_OPERATION_DEFERRED

A network error occurred while attempting to modify data, but the data was successfully modified locally and will be updated on the network the next time the device is able to sync.

Constant Value: 5 (0x00000005)

public static final int STATUS_NETWORK_ERROR_OPERATION_FAILED

A network error occurred while attempting to perform an operation that requires network access. The operation may be retried later.

Constant Value: 6 (0x00000006)

public static final int STATUS_NETWORK_ERROR_STALE_DATA

A network error occurred while attempting to retrieve fresh data, but some locally cached data was available. The data returned may be stale and/or incomplete.

Constant Value: 3 (0x00000003)

public static final int STATUS_OK

The operation was successful.

Constant Value: 0 (0x00000000)

public static final int STATUS_STATE_KEY_LIMIT_EXCEEDED

The application already has data in the maximum number of keys (data slots) and is attempting to create a new one. This is a hard error. Subsequent writes to this same key will only succeed after some number of keys have been deleted.

Constant Value: 2003 (0x000007d3)

public static final int STATUS_STATE_KEY_NOT_FOUND

The requested state key was not found. This means that the server did not have data for us when we successfully made a network request.

Constant Value: 2002 (0x000007d2)

public static final int STATUS_TIMEOUT

The operation timed out while awaiting the result. Only returned if using an PendingResult directly.

Constant Value: 15 (0x0000000f)

public static final int STATUS_WRITE_OUT_OF_DATE_VERSION

A version conflict was detected. This means that we have a local version of the data which is out of sync with the server.

Constant Value: 2000 (0x000007d0)

public static final int STATUS_WRITE_SIZE_EXCEEDED

A write request was submitted which contained too much data for the server. This should only occur if we change the app state size restrictions, or if someone is modifying their database directly.

Constant Value: 2001 (0x000007d1)