Class TriggersService.TriggerSubscription

java.lang.Object
com.arubanetworks.meridian.triggers.TriggersService.TriggerSubscription
All Implemented Interfaces:
Serializable
Enclosing class:
TriggersService

public static class TriggersService.TriggerSubscription extends Object implements Serializable
Subscription that can be used in conjunction with Triggers to be informed when a device is in range of Meridian proximity beacons
See Also:
  • Field Details

    • name

      public String name
    • allBeacons

      public boolean allBeacons
    • beacons

      public ArrayList<ProximityBeacon> beacons
    • coolDown

      public int coolDown
    • RSSIThreshold

      public int RSSIThreshold
  • Constructor Details

    • TriggerSubscription

      public TriggerSubscription(String name, ArrayList<ProximityBeacon> beacons, int coolDown, int RSSIThreshold)
      Specifies a collection of proximity beacons to listen for specifying the RSSI threshold and cool down
      Parameters:
      name -
      • the name of this subscription, must be unique
      beacons -
      • the list of beacons to listen for
      coolDown -
      • how long to wait between triggers in seconds (-1 for the default value of 10 seconds)
      RSSIThreshold -
      • the minimum RSSI value needed to trigger a beacon (range -99 -> 0).
    • TriggerSubscription

      public TriggerSubscription(String name, ArrayList<ProximityBeacon> beacons, int coolDown)
      Specifies a collection of proximity beacons to listen for with a cooldown
      Parameters:
      name -
      • the name of this subscription, must be unique
      beacons -
      • the list of beacons to listen for
      coolDown -
      • how long to wait between triggers in seconds
    • TriggerSubscription

      public TriggerSubscription(String name, ArrayList<ProximityBeacon> beacons)
      Specifies a collection of proximity beacons to listen for
      Parameters:
      name -
      • the name of this subscription, must be unique
      beacons -
      • the list of beacons to listen for
    • TriggerSubscription

      public TriggerSubscription(String name, int coolDown, int RSSIThreshold)
      Listen for all proximity beacons of the location specifying the RSSI threshold and cool down
      Parameters:
      name -
      • the name of this subscription, must be unique
      coolDown -
      • how long to wait between triggers in seconds (-1 for the default value of 10 seconds)
      RSSIThreshold -
      • the minimum RSSI value needed to trigger a beacon (range -99 -> 0).
    • TriggerSubscription

      public TriggerSubscription(String name, int coolDown)
      Listen for all proximity beacons of the location specifying the cool down
      Parameters:
      name -
      • the name of this subscription, must be unique
      coolDown -
      • how long to wait between triggers in seconds
    • TriggerSubscription

      public TriggerSubscription(String name)
      Listen for all proximity beacons of the location
      Parameters:
      name -
      • the name of this subscription, must be unique
  • Method Details