public final class Triggers
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_TRIGGERS_DETECTED
The name of the intent action when a trigger has been detected.
|
static java.lang.String |
EXTRA_DETECTED_TRIGGERS
A key to use for retrieving the trigger from an intent.
|
Modifier and Type | Method and Description |
---|---|
static TriggersManager |
getTriggersManager(Context context)
Get a
TriggersManager that can be used to monitor for trigger events. |
public static final java.lang.String ACTION_TRIGGERS_DETECTED
public static final java.lang.String EXTRA_DETECTED_TRIGGERS
public static TriggersManager getTriggersManager(Context context)
TriggersManager
that can be used to monitor for trigger events.context
- an Android context. Must not be null.