Package 

Interface IThingGeoFence

    • Method Summary

      Modifier and Type Method Description
      abstract void batchRegisterGeoFenceFromRemote(OnThingGeoFencesListener listener) Get all current geofences, it is recommended to call it when opening the application.
      abstract void report(String fenceId, String action) Corresponding behavior of geofence.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 id
        action - action:enter or out