public final class

GeofenceStatusCodes

extends CommonStatusCodes
java.lang.Object
   ↳ com.google.android.gms.common.api.CommonStatusCodes
     ↳ com.google.android.gms.location.GeofenceStatusCodes

Class Overview

Geofence specific status codes, for use in getStatusCode()

Summary

Constants
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 addGeofences(GoogleApiClient, GeofencingRequest, PendingIntent) call.
[Expand]
Inherited Constants
From class com.google.android.gms.common.api.CommonStatusCodes
Public Methods
static String getStatusCodeString(int statusCode)
Returns an untranslated debug (not user-friendly!) string based on the current status code.
[Expand]
Inherited Methods
From class com.google.android.gms.common.api.CommonStatusCodes
From class java.lang.Object

Constants

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.

Constant Value: 1000 (0x000003e8)

public static final int GEOFENCE_TOO_MANY_GEOFENCES

Your app has registered more than 100 geofences. Remove unused ones before adding new geofences.

Constant Value: 1001 (0x000003e9)

public static final int GEOFENCE_TOO_MANY_PENDING_INTENTS

You have provided more than 5 different PendingIntents to the addGeofences(GoogleApiClient, GeofencingRequest, PendingIntent) call.

Constant Value: 1002 (0x000003ea)

Public Methods

public static String getStatusCodeString (int statusCode)

Returns an untranslated debug (not user-friendly!) string based on the current status code.