public static class TriggersService.TriggerSubscription
extends java.lang.Object
Subscription that can be used in conjunction with Triggers to be informed when a device is in range of Meridian proximity beacons
Modifier and Type | Field and Description |
---|---|
boolean |
allBeacons |
java.util.ArrayList<ProximityBeacon> |
beacons |
int |
coolDown |
java.lang.String |
name |
int |
RSSIThreshold |
Constructor and Description |
---|
TriggerSubscription(java.lang.String name)
Listen for all proximity beacons of the location
|
TriggerSubscription(java.lang.String name,
java.util.ArrayList<ProximityBeacon> beacons)
Specifies a collection of proximity beacons to listen for
|
TriggerSubscription(java.lang.String name,
java.util.ArrayList<ProximityBeacon> beacons,
int coolDown)
Specifies a collection of proximity beacons to listen for with a cooldown
|
TriggerSubscription(java.lang.String name,
java.util.ArrayList<ProximityBeacon> beacons,
int coolDown,
int RSSIThreshold)
Specifies a collection of proximity beacons to listen for specifying the RSSI threshold and cool down
|
TriggerSubscription(java.lang.String name,
int coolDown)
Listen for all proximity beacons of the location specifying the cool down
|
TriggerSubscription(java.lang.String name,
int coolDown,
int RSSIThreshold)
Listen for all proximity beacons of the location specifying the RSSI threshold and cool down
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
public java.lang.String name
public boolean allBeacons
public java.util.ArrayList<ProximityBeacon> beacons
public int coolDown
public int RSSIThreshold
public TriggerSubscription(java.lang.String name, java.util.ArrayList<ProximityBeacon> beacons, int coolDown, int RSSIThreshold)
Specifies a collection of proximity beacons to listen for specifying the RSSI threshold and cool down
name
- beacons
- coolDown
- RSSIThreshold
- public TriggerSubscription(java.lang.String name, java.util.ArrayList<ProximityBeacon> beacons, int coolDown)
Specifies a collection of proximity beacons to listen for with a cooldown
name
- beacons
- coolDown
- public TriggerSubscription(java.lang.String name, java.util.ArrayList<ProximityBeacon> beacons)
Specifies a collection of proximity beacons to listen for
name
- beacons
- public TriggerSubscription(java.lang.String name, int coolDown, int RSSIThreshold)
Listen for all proximity beacons of the location specifying the RSSI threshold and cool down
name
- coolDown
- RSSIThreshold
- public TriggerSubscription(java.lang.String name, int coolDown)
Listen for all proximity beacons of the location specifying the cool down
name
- coolDown
- public TriggerSubscription(java.lang.String name)
Listen for all proximity beacons of the location
name
-