android.hardware.SensorEventListener |
Known Indirect Subclasses |
Used for receiving notifications from the SensorManager when sensor values have changed.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Called when the accuracy of the registered sensor has changed.
|
||||||||||
|
Called when sensor values have changed.
|
Called when the accuracy of the registered sensor has changed.
See the SENSOR_STATUS_* constants in
SensorManager
for details.
accuracy |
The new accuracy of this sensor, one of
SensorManager.SENSOR_STATUS_*
|
---|
Called when sensor values have changed.
See
SensorManager
for details on possible sensor types.
See also
SensorEvent
.
NOTE:
The application doesn't own the
event
object passed as a parameter and therefore cannot hold on to it.
The object may be part of an internal pool and may be reused by
the framework.
event |
the
SensorEvent
.
|
---|