Package 

Interface IThingGeoFenceOperate

    • Method Detail

      • addGeoFence

         abstract void addGeoFence(int type, int initialTriggerType, LocationInfo info, OnThingGeoFenceStatusListener listener)

        Add geofence.

        Parameters:
        type - Action type.
        initialTriggerType - Notification behavior when geofences are added.
        info - Location related information.
        listener - Callback for ack message.
      • addAllGeoFence

         abstract void addAllGeoFence(List<ThingGeoFence> thingGeoFences)

        Add geofences in bulk.

        Parameters:
        thingGeoFences - List of geofence's info.
      • addAllGeoFence

         abstract void addAllGeoFence(List<ThingGeoFence> thingGeoFences, int initialTriggerType)

        Add geofences in bulk.

        Parameters:
        thingGeoFences - List of geofence's info.
        initialTriggerType - Notification behavior when geofences are added.
      • getGeoFenceCount

         abstract int getGeoFenceCount()

        Get the current number of geofences.