java.lang.Object | |
↳ | com.google.android.gms.appstate.AppStateStatusCodes |
Status codes for AppState results.
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 | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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.
Your application is incorrectly configured. This is a hard error, since retrying will not fix this.
An unspecified error occurred; no more specific information is available. The device logs may provide additional data.
Was interrupted while waiting for the result. Only returned if using an
PendingResult
directly.
A network error occurred while attempting to retrieve fresh data, and no data was available locally.
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.
A network error occurred while attempting to perform an operation that requires network access. The operation may be retried later.
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.
The operation was successful.
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.
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.
The operation timed out while awaiting the result. Only returned if using an
PendingResult
directly.
A version conflict was detected. This means that we have a local version of the data which is out of sync with the server.
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.