|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SensorListener
Used for receiving notifications from the SensorManager when sensor values have changed.
| Method Summary | |
|---|---|
void |
onAccuracyChanged(int sensor,
int accuracy)
Called when the accuracy of a sensor has changed. |
void |
onSensorChanged(int sensor,
float[] values)
Called when sensor values have changed. |
| Method Detail |
|---|
void onSensorChanged(int sensor,
float[] values)
SensorManager
for details on possible sensor types and values.
sensor - The ID of the sensor being monitoredvalues - The new values for the sensor
void onAccuracyChanged(int sensor,
int accuracy)
SensorManager
for details.
sensor - The ID of the sensor being monitoredaccuracy - The new accuracy of this sensor
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||