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 EditorKey
Retrieve the Meridian App Key that this broadcast was triggered with.static String
Retrieve the MAC address of the beacon that triggered this broadcast.static int
Retrieve the major of the beacon that triggered this broadcast.static String
Retrieve the map that the beacon that triggered this broadcast is on.static int
Retrieve the minor of the beacon that triggered this broadcast.static int
Retrieve the rssi of the beacon that triggered this broadcast.static String
Retrieve the trigger name that this broadcast was triggered with.static float
Retrieve the x coordinate of the beacon that triggered this broadcast.static float
Retrieve the y coordinate of the beacon that triggered this broadcast.final void
protected abstract void
Forwarded 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, getSentFromPackage, getSentFromUid, 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:
onReceive
in 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.
-