This class is deprecated.
Use GeofenceStatusCodes
.
Status codes that can be returned to listeners to indicate the success or failure of an operation.
Constant Summary
int | ERROR | An unspecified error occurred; no more specific information is available. |
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
GeofencingApi.addGeofences(com.google.android.gms.common.api.GoogleApiClient,
GeofencingRequest, PendingIntent) call. |
int | SUCCESS | The operation was successful. |
Inherited Method Summary
Constants
public static final int ERROR
An unspecified error occurred; no more specific information is available. The device logs may provide additional data.
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
GeofencingApi.addGeofences(com.google.android.gms.common.api.GoogleApiClient,
GeofencingRequest, PendingIntent)
call.
public static final int SUCCESS
The operation was successful.