public interface IBeaconListener
Modifier and Type | Method and Description |
---|---|
void |
onIBeaconDiscovered(IBeaconDevice iBeacon,
IBeaconRegion region)
Called when iBeacon is discovered for the first time.
|
void |
onIBeaconLost(IBeaconDevice iBeacon,
IBeaconRegion region)
Called when iBeacon is reported lost (out of range). onIBeaconDiscovered will be called when beacon is back in range.
|
void |
onIBeaconsUpdated(java.util.List<IBeaconDevice> iBeacons,
IBeaconRegion region)
Called when iBeacons are updated.
|
void onIBeaconDiscovered(IBeaconDevice iBeacon, IBeaconRegion region)
iBeacon
- IBeaconDevice
instance.region
- IBeaconRegion
instance.void onIBeaconsUpdated(java.util.List<IBeaconDevice> iBeacons, IBeaconRegion region)
iBeacons
- List of updated IBeaconDevice
devices.region
- IBeaconRegion
instance.void onIBeaconLost(IBeaconDevice iBeacon, IBeaconRegion region)
iBeacon
- Lost IBeaconDevice
instance.region
- IBeaconRegion
instance.