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()
InternalProximityListener
onScanStart
in interface InternalProximityListener
public void onScanStop()
InternalProximityListener
onScanStop
in interface InternalProximityListener
public void onMonitoringCycleStart()
InternalProximityListener
onMonitoringCycleStart
in interface InternalProximityListener
public void onMonitoringCycleStop()
InternalProximityListener
onMonitoringCycleStop
in interface InternalProximityListener
public void onScanError(ScanError exception)
InternalProximityListener
onScanError
in interface InternalProximityListener
exception
- ScanErrorpublic void onEvent(BluetoothDeviceEvent event)
InternalProximityListener
onEvent
in interface InternalProximityListener
event
- the event