EventListener¶
-
public interface
EventListener
¶ Interface used to dispatch all type of events. This is implemented by the remote service that is responsible to relay them to the correct listeners.
This interface is supplied to the
KallistoSensors
in order to allow them to dispatch new sensor events.
Methods¶
onCalibrationEvent¶
-
void
onCalibrationEvent
(CalibrationEvent event)¶ Called when there is a new calibration event.
Should be called by the
KallistoSensors
in order to deliver events.- Parameters
event – A new sensor calibration event.
onSensorEvent¶
-
void
onSensorEvent
(SensorEvent event)¶ Called when there is a new sensor event.
Should be called by the
KallistoSensors
in order to deliver events.- Parameters
event – A new sensor event.