public class GeoFenceReceiver extends android.content.BroadcastReceiver implements GeoFenceComponent.GeoFenceListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADD
Deprecated.
|
static java.lang.String |
DISPLAY_ALERTING |
static java.lang.String |
EDIT |
static java.lang.String |
GEO_FENCE |
static java.lang.String |
ITEMS_SELECTED |
Constructor and Description |
---|
GeoFenceReceiver(GeoFenceComponent component,
GeoFenceDatabase database) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
onFenceAdded(GeoFence fence,
MapItem item) |
void |
onFenceChanged(GeoFence fence,
MapItem item) |
void |
onFenceRemoved(java.lang.String mapItemUid) |
void |
onReceive(android.content.Context ignoreCtx,
android.content.Intent intent) |
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public static final java.lang.String EDIT
public static final java.lang.String DISPLAY_ALERTING
public static final java.lang.String ITEMS_SELECTED
@Deprecated public static final java.lang.String ADD
public static final java.lang.String GEO_FENCE
public GeoFenceReceiver(GeoFenceComponent component, GeoFenceDatabase database)
public void dispose()
public void onReceive(android.content.Context ignoreCtx, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
public void onFenceAdded(GeoFence fence, MapItem item)
onFenceAdded
in interface GeoFenceComponent.GeoFenceListener
public void onFenceChanged(GeoFence fence, MapItem item)
onFenceChanged
in interface GeoFenceComponent.GeoFenceListener
public void onFenceRemoved(java.lang.String mapItemUid)
onFenceRemoved
in interface GeoFenceComponent.GeoFenceListener