android.hardware.SensorEventListener |
Used for receiving notifications from the SensorManager when sensor values have changed.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when the accuracy of a sensor has changed.
| |||||||||||
Called when sensor values have changed.
|
Called when the accuracy of a sensor has changed.
See SensorManager for details.
accuracy | The new accuracy of this sensor |
---|
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 o it. The object may be part of an internal pool and may be reused by the framework.
event | the SensorEvent. |
---|