public class ShakeGestureDetector extends BBDetector implements android.hardware.SensorEventListener
application, context| Constructor and Description |
|---|
ShakeGestureDetector(android.app.Application application) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize() |
void |
onAccuracyChanged(android.hardware.Sensor sensor,
int i) |
void |
onSensorChanged(android.hardware.SensorEvent sensorEvent) |
void |
pause() |
void |
resume() |
takeScreenshotpublic ShakeGestureDetector(android.app.Application application)
public void initialize()
initialize in class BBDetectorpublic void resume()
resume in class BBDetectorpublic void pause()
pause in class BBDetectorpublic 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