| CLASS info |
| public class GeofenceRequest implements Parcelable, IMessageEntity |
| Geofence request information class. |
| Type | Name | Desc |
| int | ENTER_INIT_CONVERSION | ENTER_INIT_CONVERSION is triggered immediately when a request is initiated to add the geofence where a user device has already entered. |
| int | EXIT_INIT_CONVERSION | EXIT_INIT_CONVERSION is triggered immediately when a request is initiated to add the geofence where a user device has already exit. |
| int | DWELL_INIT_CONVERSION | DWELL_INIT_CONVERSION is triggered immediately when a request is initiated to add the geofence where a user device has already entered and stayed for the specified duration. |
| Return type | Method name |
| List<Geofence> | getGeofences() |
| int | getInitConversions() |
| Constant |
| int ENTER_INIT_CONVERSION |
ENTER_INIT_CONVERSION is converted immediately when a request is initiated to add the geofence where a user device has already entered. Constant Value: 1 |
| Constant |
| int EXIT_INIT_CONVERSION |
EXIT_INIT_CONVERSION is converted immediately when a request is initiated to add the geofence where a user device has already exit. Constant Value: 2 |
| Constant |
| int DWELL_INIT_CONVERSION |
DWELL_INIT_CONVERSION is converted immediately when a request is initiated to add the geofence where a user device has already entered and stayed for the specified duration. Constant Value: 4 |
| Method |
| public List<Geofence> getGeofences() |
| This API is used to obtain a list of geofences to be monitored. |
Return
| type | desc |
| List<Geofence> | List of geofences to be monitored. |
| Method |
| public int getInitConversions() |
| This API is used to obtain the conversion type at the moment when the geofence is added successfully. |
Return
| type | desc |
| int | Geofence convert type. |