public interface ProximityKitMonitorNotifier
Modifier and Type | Field and Description |
---|---|
static int |
INSIDE
Indicates the Android device is inside the Region of beacons
|
static int |
OUTSIDE
Indicates the Android device is outside the Region of beacons
|
Modifier and Type | Method and Description |
---|---|
void |
didDetermineStateForRegion(int state,
ProximityKitBeaconRegion region)
Called with a state value of MonitorNotifier.INSIDE when at least one beacon in a
Region is visible. |
void |
didEnterRegion(ProximityKitBeaconRegion region)
Called when at least one beacon in a
Region is visible. |
void |
didExitRegion(ProximityKitBeaconRegion region)
Called when no beacons in a
Region are visible. |
static final int INSIDE
static final int OUTSIDE
void didEnterRegion(ProximityKitBeaconRegion region)
Region
is visible.region
- a Region that defines the criteria of beacons to look forvoid didExitRegion(ProximityKitBeaconRegion region)
Region
are visible.region
- a Region that defines the criteria of beacons to look forvoid didDetermineStateForRegion(int state, ProximityKitBeaconRegion region)
Region
is visible.
Called with a state value of MonitorNotifier.OUTSIDE when no beacons in a Region
are visible.state
- either MonitorNotifier.INSIDE or MonitorNotifier.OUTSIDEregion
- a Region that defines the criteria of beacons to look for