public interface BeaconListener
Modifier and Type | Method and Description |
---|---|
void |
onEmptyBeacon()
Method that called when no beacon found.
|
void |
onEnterBeacon(CBBeacon beacon)
Method that called when beacon entered region
|
void |
onExitBeacon(CBBeacon beacon,
long timeInterval)
Method that called when beacon exited region.
|
void |
onFarBeacon(CBBeacon beacon)
Method that called when beacon with proximity far detected.
|
void |
onImmediateBeacon(CBBeacon beacon)
Method that called when beacon with proximity immediate detected.
|
void |
onNearBeacon(CBBeacon beacon)
Method that called when beacon with proximity near detected.
|
void |
onNearestBeaconChanged(CBBeacon old,
CBBeacon current)
Method that called when beacon nearest changed.
|
void onImmediateBeacon(CBBeacon beacon)
beacon
- Beacon with proximity immediatevoid onNearBeacon(CBBeacon beacon)
beacon
- Beacon with proximity nearvoid onFarBeacon(CBBeacon beacon)
beacon
- Beacon with proximity farvoid onEnterBeacon(CBBeacon beacon)
beacon
- Beacon that entered regionvoid onExitBeacon(CBBeacon beacon, long timeInterval)
beacon
- Beacon that exited regiontimeInterval
- Interval of beacon from entered to exit regionvoid onNearestBeaconChanged(CBBeacon old, CBBeacon current)
old
- The old detected nearest beaconcurrent
- The new detected nearest beaconvoid onEmptyBeacon()