public class EventObserver extends java.lang.Object implements InternalProximityListener
BluetoothDeviceEvent type.| Constructor and Description |
|---|
EventObserver(EddystoneListener eddystoneListener,
IBeaconListener iBeaconListener,
ScanStatusListener scanStatusListener,
SpaceListener spaceListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(BluetoothDeviceEvent event)
Called whenever specific event occurs.
|
void |
onMonitoringCycleStart()
Called when monitoring cycle starts;
|
void |
onMonitoringCycleStop()
Called when monitoring cycle ends;
|
void |
onScanError(ScanError exception)
Called when scan fails for some reason
|
void |
onScanStart()
Called when scan starts.
|
void |
onScanStop()
Called when scan stops.
|
public EventObserver(EddystoneListener eddystoneListener, IBeaconListener iBeaconListener, ScanStatusListener scanStatusListener, SpaceListener spaceListener)
public void onScanStart()
InternalProximityListeneronScanStart in interface InternalProximityListenerpublic void onScanStop()
InternalProximityListeneronScanStop in interface InternalProximityListenerpublic void onMonitoringCycleStart()
InternalProximityListeneronMonitoringCycleStart in interface InternalProximityListenerpublic void onMonitoringCycleStop()
InternalProximityListeneronMonitoringCycleStop in interface InternalProximityListenerpublic void onScanError(ScanError exception)
InternalProximityListeneronScanError in interface InternalProximityListenerexception - ScanErrorpublic void onEvent(BluetoothDeviceEvent event)
InternalProximityListeneronEvent in interface InternalProximityListenerevent - the event