-
public interface IThingGeoFence
-
-
Method Summary
Modifier and Type Method Description abstract voidbatchRegisterGeoFenceFromRemote(OnThingGeoFencesListener listener)Get all current geofences, it is recommended to call it when opening the application. abstract voidreport(String fenceId, String action)Corresponding behavior of geofence. -
-
Method Detail
-
batchRegisterGeoFenceFromRemote
abstract void batchRegisterGeoFenceFromRemote(OnThingGeoFencesListener listener)
Get all current geofences, it is recommended to call it when opening the application.
- Parameters:
listener- Callback for ack message OnThingGeoFencesListener
-
report
abstract void report(String fenceId, String action)
Corresponding behavior of geofence.
- Parameters:
fenceId- geofence's idaction- action:enter or out
-
-
-
-