Class Info |
|---|
public final class GeofenceErrorCodes extends CommonStatusCodes Geofence result codes. |
Qualifier and Type | Field and Description |
|---|---|
static final int | GEOFENCE_INSUFFICIENT_PERMISSION Insufficient permission to perform geofence-related operations. |
static final int | A maximum of 100 geofences can be added for an app. |
static final int | GEOFENCE_PENDINGINTENT_OVER_LIMIT A maximum of 5 PendingIntent objects can be used to add geofences. |
static final int | Geofences are added too frequently. |
static final int | The geofence service is unavailable. |
Qualifier and Type | Method Name and Description |
|---|---|
String | getErrorMessage(int statusCode) Obtains the result information based on the result code. |
Fields |
|---|
public static final int GEOFENCE_INSUFFICIENT_PERMISSION Insufficient permission to perform geofence-related operations. GEOFENCE_INSUFFICIENT_PERMISSION: 10204 For details about other constant values, please refer to Constant Values. |
Fields |
|---|
public static final int GEOFENCE_NUMBER_OVER_LIMIT A maximum of 100 geofences can be added for an app. GEOFENCE_NUMBER_OVER_LIMIT: 10201 For details about other constant values, please refer to Constant Values. |
Fields |
|---|
public static final int GEOFENCE_PENDINGINTENT_OVER_LIMIT A maximum of 5 PendingIntent objects can be used to add geofences. GEOFENCE_PENDINGINTENT_OVER_LIMIT: 10202 For details about other constant values, please refer to Constant Values. |
Fields |
|---|
public static final int GEOFENCE_REQUEST_TOO_OFTEN Geofences are added too frequently. GEOFENCE_REQUEST_TOO_OFTEN: 10205 For details about other constant values, please refer to Constant Values. |
Fields |
|---|
public static final int GEOFENCE_UNAVAILABLE The geofence service is unavailable. GEOFENCE_UNAVAILABLE: 10200 For details about other constant values, please refer to Constant Values. |