Interface GestureListener
public interface GestureListener
Receives high level gestures (shake, flip, tilt, pick up, free fall) derived
from the motion sensors. Register an implementation through
MotionSensorManager.addGestureListener(int, GestureListener). Callbacks are
always invoked on the EDT so it is safe to update the UI directly from them.-
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when a gesture is detected.
-
Method Details
-
gestureDetected
Invoked when a gesture is detected.
Parameters
evt: the detected gesture
-