Geofence specific status codes, for use in
|int||GEOFENCE_NOT_AVAILABLE||Geofence service is not available now.|
|int||GEOFENCE_TOO_MANY_GEOFENCES||Your app has registered more than 100 geofences.|
|int||GEOFENCE_TOO_MANY_PENDING_INTENTS||You have provided more than 5 different PendingIntents to the
Inherited Constant Summary
This constant is deprecated.
|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
|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||LICENSE_CHECK_FAILED||This constant is deprecated. This case handled during connection, not during API requests. No results should be returned with this status code.|
|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_INVALID||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 Method Summary
public static final int GEOFENCE_NOT_AVAILABLE
Geofence service is not available now. Typically this is because the user turned off location access in settings > location access.
public static final int GEOFENCE_TOO_MANY_GEOFENCES
Your app has registered more than 100 geofences. Remove unused ones before adding new geofences.
public static final int GEOFENCE_TOO_MANY_PENDING_INTENTS
You have provided more than 5 different PendingIntents to the
addGeofences(GoogleApiClient, GeofencingRequest, PendingIntent) call.
public static String getStatusCodeString (int statusCode)
Returns an untranslated debug (not user-friendly!) string based on the current status code.