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.

Methods

public abstract void gestureDetected(GestureEvent evt)Invoked when a gesture is detected.

Method details

gestureDetected

public abstract void gestureDetected(GestureEvent evt)
Invoked when a gesture is detected.

Parameters

evt GestureEvent
the detected gesture