public interface ProximityKitMonitorNotifier
ProximityKitRangeNotifier
instead. For equivalent geofence related events use
ProximityKitGeofenceNotifier
Modifier and Type | Field and Description |
---|---|
static int |
INSIDE
Indicates the Android device is inside the defined region.
|
static int |
OUTSIDE
Indicates the Android device is outside the defined region.
|
Modifier and Type | Method and Description |
---|---|
void |
didDetermineStateForRegion(int state,
ProximityKitBeaconRegion region)
Provides major state events for a beacon region.
|
void |
didEnterRegion(ProximityKitBeaconRegion region)
Called when at least one beacon matching the
region criteria is visible. |
void |
didExitRegion(ProximityKitBeaconRegion region)
Called when no beacons matching the
region criteria are visible. |
static final int INSIDE
static final int OUTSIDE
void didDetermineStateForRegion(int state, ProximityKitBeaconRegion region)
ProximityKitMonitorNotifier.INSIDE
when at least one
beacon matching the region
criteria is visible. Conversely, this is called with a
value of ProximityKitMonitorNotifier.OUTSIDE
when no beacons defined by the
region
are visible.state
- Major state of region
. Either ProximityKitMonitorNotifier.INSIDE
or
ProximityKitMonitorNotifier.OUTSIDE
.region
- A ProximityKitBeaconRegion
defining the beacon boundary criteria.void didEnterRegion(ProximityKitBeaconRegion region)
region
criteria is visible.region
- A ProximityKitBeaconRegion
defining the beacon boundary criteria.void didExitRegion(ProximityKitBeaconRegion region)
region
criteria are visible.region
- A ProximityKitBeaconRegion
defining the beacon boundary criteria.