Show / Hide Table of Contents

Enum AN_CommonStatusCodes

Common status codes that are often shared across API surfaces.

Namespace: SA.Android.GMS.Common
Assembly: cs.temp.dll.dll
Syntax
public enum AN_CommonStatusCodes

Fields

Name Description
API_NOT_CONNECTED

The client attempted to call a method from an API that failed to connect. Possible reasons include: The API previously failed to connect with a resolvable error, but the user declined the resolution. The device does not support GmsCore. The specific API cannot connect on this device.

CANCELED

The result was canceled either due to client disconnect or cancel.

DEVELOPER_ERROR

The application is misconfigured. This error is not recoverable and will be treated as fatal. The developer should look at the logs after this to determine more actionable information.

ERROR

The operation failed with no more detailed information.

INTERNAL_ERROR

An internal error occurred. Retrying should resolve the problem.

INTERRUPTED

A blocking call was interrupted while waiting and did not run to completion.

INVALID_ACCOUNT

The client attempted to connect to the service with an invalid account name specified.

NETWORK_ERROR

A network error occurred. Retrying should resolve the problem.

RESOLUTION_REQUIRED

Completing the operation requires some form of resolution. A resolution will be available to be started with startResolutionForResult(Activity, int). If the result returned is RESULT_OK, then further attempts should either complete or continue on to the next issue that needs to be resolved.

SIGN_IN_REQUIRED

The client attempted to connect to the service but the user is not signed in. The client may choose to continue without using the API. Alternately, if hasResolution() returns true the client may call startResolutionForResult(Activity, int) to prompt the user to sign in. After the sign in activity returns with RESULT_OK further attempts should succeed.

SUCCESS

The operation was successful.

SUCCESS_CACHE

The operation was successful, but was used the device's cache. If this is a write, the data will be written when the device is online; errors will be written to the logs. If this is a read, the data was read from a device cache and may be stale.

TIMEOUT

Timed out while awaiting the result.

In This Article
Back to top Generated by DocFX