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 Type
    Method
    Description
    void
    Invoked when a gesture is detected.
  • Method Details

    • gestureDetected

      void gestureDetected(GestureEvent evt)

      Invoked when a gesture is detected.

      Parameters
      • evt: the detected gesture