public class KineticMotionListener
extends java.lang.Object
implements android.hardware.SensorEventListener
| Modifier and Type | Method and Description |
|---|---|
static KineticMotionManager |
getMotionManager() |
void |
onAccuracyChanged(android.hardware.Sensor sensor,
int i)
Handles accuracy changes for sensor.
|
void |
onSensorChanged(android.hardware.SensorEvent event)
Delegates SensorEvent processing to KineticMotionManager.
|
public static KineticMotionManager getMotionManager()
public void onSensorChanged(android.hardware.SensorEvent event)
onSensorChanged in interface android.hardware.SensorEventListenerevent - A SensorEvent from one of the device's sensorspublic void onAccuracyChanged(android.hardware.Sensor sensor,
int i)
onAccuracyChanged in interface android.hardware.SensorEventListenersensor - - the sensor that changed its accuracy propertyi - - any extra flag with extra information relevant
to this change