public abstract class SimpleIBeaconListener extends java.lang.Object implements IBeaconListener
Constructor and Description |
---|
SimpleIBeaconListener() |
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.
|
public void onIBeaconDiscovered(IBeaconDevice ibeacon, IBeaconRegion region)
IBeaconListener
onIBeaconDiscovered
in interface IBeaconListener
ibeacon
- IBeaconDevice
instance.region
- IBeaconRegion
instance.public void onIBeaconsUpdated(java.util.List<IBeaconDevice> ibeacons, IBeaconRegion region)
IBeaconListener
onIBeaconsUpdated
in interface IBeaconListener
ibeacons
- List of updated IBeaconDevice
devices.region
- IBeaconRegion
instance.public void onIBeaconLost(IBeaconDevice ibeacon, IBeaconRegion region)
IBeaconListener
onIBeaconLost
in interface IBeaconListener
ibeacon
- Lost IBeaconDevice
instance.region
- IBeaconRegion
instance.