Beaconstac Android  0.9.9
com.mobstac.beaconstac.core.BeaconstacReceiver Class Referenceabstract
Inheritance diagram for com.mobstac.beaconstac.core.BeaconstacReceiver:

Public Member Functions

void onReceive (Context context, Intent intent)
 
abstract void rangedBeacons (Context context, ArrayList< MSBeacon > beacons)
 
abstract void campedOnBeacon (Context context, MSBeacon beacon)
 
abstract void exitedBeacon (Context context, MSBeacon beacon)
 
abstract void triggeredRule (Context context, String ruleName, ArrayList< MSAction > actions)
 
abstract void enteredRegion (Context context, String region)
 
abstract void exitedRegion (Context context, String region)
 
abstract void enteredGeofence (Context context, ArrayList< MSPlace > places)
 
abstract void exitedGeofence (Context context, ArrayList< MSPlace > places)
 

Member Function Documentation

abstract void com.mobstac.beaconstac.core.BeaconstacReceiver.campedOnBeacon ( Context  context,
MSBeacon  beacon 
)
abstract

Triggers when the device has crossed over the near proximity zone threshold for a beacon.

Parameters
contextThe Context in which the receiver is running
beaconMSBeacon object the device has camped on to
abstract void com.mobstac.beaconstac.core.BeaconstacReceiver.enteredGeofence ( Context  context,
ArrayList< MSPlace places 
)
abstract

Triggers when the user enters a monitored geofence region

Parameters
contextThe Context in which the receiver is running
placesA list of MSplace objects entering geofence region
abstract void com.mobstac.beaconstac.core.BeaconstacReceiver.enteredRegion ( Context  context,
String  region 
)
abstract

Triggers when the user enters a monitored beacon region.

Parameters
contextThe Context in which the receiver is running
regionRegion identifier
abstract void com.mobstac.beaconstac.core.BeaconstacReceiver.exitedBeacon ( Context  context,
MSBeacon  beacon 
)
abstract

Triggers when the device exited from the region of a beacon on which it was camped on.

Parameters
contextThe Context in which the receiver is running
beaconMSBeacon object that a device was previously camped on to and now has exited from beacon's range
abstract void com.mobstac.beaconstac.core.BeaconstacReceiver.exitedGeofence ( Context  context,
ArrayList< MSPlace places 
)
abstract

Triggers when the user exits a monitored geofence region

Parameters
contextThe Context in which the receiver is running
placesA list of MSPlace objects exiting geofence regions
abstract void com.mobstac.beaconstac.core.BeaconstacReceiver.exitedRegion ( Context  context,
String  region 
)
abstract

Triggers when the user enters a monitored beacon region.

Parameters
contextThe Context in which the receiver is running
regionRegion Identifier
void com.mobstac.beaconstac.core.BeaconstacReceiver.onReceive ( Context  context,
Intent  intent 
)

BroadCast Receiver onReceive method. super.onReceive() must be called to receive BeaconstacReceiver events.

Parameters
contextThe Context in which the receiver is running
intentThe Intent being received
abstract void com.mobstac.beaconstac.core.BeaconstacReceiver.rangedBeacons ( Context  context,
ArrayList< MSBeacon beacons 
)
abstract

Triggers when one or more beacons are detected by the device.

Parameters
contextThe Context in which the receiver is running
beaconsAn array of MSBeacon objects
abstract void com.mobstac.beaconstac.core.BeaconstacReceiver.triggeredRule ( Context  context,
String  ruleName,
ArrayList< MSAction actions 
)
abstract

Triggers when a rule is triggered and an action needs to be performed.

Parameters
contextThe Context in which the receiver is running
ruleNamerule name for which an action needs to be performed
actionsan array of actions to be performed when the rule is triggered. Each action is an object of type MSAction

The documentation for this class was generated from the following file: