Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HMS Core
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. |
Method |
|---|
public static String getErrorMessage(int statusCode) Obtains the result information based on the result code. |
Parameters
Name | Description |
|---|---|
statusCode | Result code. |
Returns
Type | Description |
|---|---|
String | Result description. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.