public final class

LocationStatusCodes

extends Object
java.lang.Object
   ↳ com.google.android.gms.location.LocationStatusCodes

Class Overview

Status codes that can be returned to listeners to indicate the success or failure of an operation.

Summary

Constants
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 addGeofences(List, PendingIntent, OnAddGeofencesResultListener) call.
int SUCCESS The operation was successful.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int ERROR

An unspecified error occurred; no more specific information is available. The device logs may provide additional data.

Constant Value: 1 (0x00000001)

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(List, PendingIntent, OnAddGeofencesResultListener) call.

Constant Value: 1002 (0x000003ea)

public static final int SUCCESS

The operation was successful.

Constant Value: 0 (0x00000000)