public class FlipDetector
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FlipDetector.FlipListener
The interface Flip listener.
|
| Constructor and Description |
|---|
FlipDetector(FlipDetector.FlipListener flipListener)
Instantiates a new Flip detector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onAccuracyChanged(android.hardware.Sensor sensor,
int i) |
void |
onSensorChanged(android.hardware.SensorEvent sensorEvent) |
protected void |
onSensorEvent(android.hardware.SensorEvent sensorEvent) |
public FlipDetector(FlipDetector.FlipListener flipListener)
flipListener - the flip listenerprotected void onSensorEvent(android.hardware.SensorEvent sensorEvent)
public void onSensorChanged(android.hardware.SensorEvent sensorEvent)
onSensorChanged in interface android.hardware.SensorEventListenerpublic void onAccuracyChanged(android.hardware.Sensor sensor,
int i)
onAccuracyChanged in interface android.hardware.SensorEventListener