SensorEventListener¶
-
public interface
SensorEventListener
¶ Interface to receive
SensorEvents
.
Methods¶
onAccuracyChanged¶
-
void
onAccuracyChanged
(KallistoSensor sensor, int accuracy)¶ Called when the accuracy of the registered sensor has changed.
Not used for now.
- Parameters
sensor – The
KallistoSensor
that generated this event.accuracy – Will be one of
KallistoSensorManager.SENSOR_STATUS_ACCURACY_HIGH
,KallistoSensorManager.SENSOR_STATUS_ACCURACY_MEDIUM
orKallistoSensorManager.SENSOR_STATUS_ACCURACY_LOW
onSensorChanged¶
-
void
onSensorChanged
(SensorEvent event)¶ Called when there is a new
sensor event
.- Parameters
event – The
sensor event
.