public interface ProximityKitGeofenceNotifier
GeofenceManager.setNotifier(ProximityKitGeofenceNotifier notifier),
GeofenceManager.addGeofences(java.util.List geofenceList),
ProximityKitGeofenceRegion| Modifier and Type | Field and Description |
|---|---|
static int |
INSIDE
Indicates the Android device is inside the region a Geofence
|
static int |
OUTSIDE
Indicates the Android device is outside the region of a Geofence
|
| Modifier and Type | Method and Description |
|---|---|
void |
didDetermineStateForGeofence(int state,
ProximityKitGeofenceRegion geofence)
Called when the device is cross a
Geofence boundary. |
void |
didEnterGeofence(ProximityKitGeofenceRegion geofence)
Called when at least one
Geofence is visible. |
void |
didExitGeofence(ProximityKitGeofenceRegion geofence)
Called when a previously visible
Geofence disappears. |
static final int INSIDE
static final int OUTSIDE
void didEnterGeofence(ProximityKitGeofenceRegion geofence)
Geofence is visible.geofence - a Geofence that defines the criteria of Geofence to look forvoid didExitGeofence(ProximityKitGeofenceRegion geofence)
Geofence disappears.geofence - a Geofence that defines the criteria of Geofence to look forvoid didDetermineStateForGeofence(int state,
ProximityKitGeofenceRegion geofence)
Geofence boundary.
Called with a state value of ProximityKitGeofenceNotifier.INSIDE when the device
is completely within a Geofence.
Called with a state value of ProximityKitGeofenceNotifier.OUTSIDE when the
device is no longer in a Geofence.state - either ProximityKitGeofenceNotifier.INSIDE or
ProximityKitGeofenceNotifier.OUTSIDEgeofence - the Geofence region this is event is associated