Class TriggersBroadcastReceiver
java.lang.Object
android.content.BroadcastReceiver
com.arubanetworks.meridian.triggers.TriggersBroadcastReceiver
An abstract class to assist with retrieving data from a Meridian triggers Broadcast.
-
Nested Class Summary
Nested classes/interfaces inherited from class android.content.BroadcastReceiver
BroadcastReceiver.PendingResult -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EditorKeyRetrieve the Meridian App Key that this broadcast was triggered with.static StringRetrieve the MAC address of the beacon that triggered this broadcast.static intRetrieve the major of the beacon that triggered this broadcast.static StringRetrieve the map that the beacon that triggered this broadcast is on.static intRetrieve the minor of the beacon that triggered this broadcast.static intRetrieve the rssi of the beacon that triggered this broadcast.static StringRetrieve the trigger name that this broadcast was triggered with.static floatRetrieve the x coordinate of the beacon that triggered this broadcast.static floatRetrieve the y coordinate of the beacon that triggered this broadcast.final voidprotected abstract voidForwarded fromBroadcastReceiver.onReceive(android.content.Context, android.content.Intent)with title and message unpacked for convenience.Methods inherited from class android.content.BroadcastReceiver
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
-
Field Details
-
TRIGGERS_BROADCAST_ACTION
- See Also:
-
-
Constructor Details
-
TriggersBroadcastReceiver
public TriggersBroadcastReceiver()
-
-
Method Details
-
onReceive
- Specified by:
onReceivein classBroadcastReceiver
-
onReceive
Forwarded fromBroadcastReceiver.onReceive(android.content.Context, android.content.Intent)with title and message unpacked for convenience.- Parameters:
intent- The intent delivered with this broadcast.title- The user facing title of the Trigger.
-
getAppKey
Retrieve the Meridian App Key that this broadcast was triggered with. -
getTriggerName
Retrieve the trigger name that this broadcast was triggered with. -
getRSSI
Retrieve the rssi of the beacon that triggered this broadcast. -
getMajor
Retrieve the major of the beacon that triggered this broadcast. -
getMinor
Retrieve the minor of the beacon that triggered this broadcast. -
getX
Retrieve the x coordinate of the beacon that triggered this broadcast. -
getY
Retrieve the y coordinate of the beacon that triggered this broadcast. -
getMapId
Retrieve the map that the beacon that triggered this broadcast is on. -
getMacAddress
Retrieve the MAC address of the beacon that triggered this broadcast.
-