| CLASS info |
| public interface Geofence |
| Geofence interface |
| Type | Name | Desc |
| int | ENTER_GEOFENCE_CONVERSION | A user enters the geofence. |
| int | EXIT_GEOFENCE_CONVERSION | A user exits the geofence. |
| int | DWELL_GEOFENCE_CONVERSION | A user lingers in the geofence. |
| long | GEOFENCE_NEVER_EXPIRE | No timeout interval is configured for the geofence. |
| Return type | Method name |
| String | getUniqueId() |
| Constant |
| int ENTER_GEOFENCE_CONVERSION |
A user enters the geofence. Constant Value: 1 |
| Constant |
| int EXIT_GEOFENCE_CONVERSION |
A user exits the geofence. Constant Value: 2 |
| Constant |
| int DWELL_GEOFENCE_CONVERSION |
A user lingers in the geofence. Constant Value: 4 |
| Constant |
| long GEOFENCE_NEVER_EXPIRE |
No timeout interval is configured for the geofence. Constant Value: -1L |
| Method |
| public String getUniqueId() |
| This API is used to obtain the unique ID of a geofence. |
Return
| type | desc |
| String | Unique ID. |