Added in API level XE12

Receives detection results. This listener receives discrete gestures: TAP, LONG_PRESS SWIPE_UP, SWIPE_LEFT, SWIPE_RIGHT, SWIPE_DOWN

Public Methods
abstract boolean
onGesture(Gesture gesture)

Public Methods

Added in API level XE12

public abstract boolean onGesture (Gesture gesture)

Called when a gesture was recognized.

Only one gesture will be recognized per event sequence.

gesture the detected gesture
  • true if the gesture was handled