Interface Gesture.OnUpdate

Enclosing class:
Gesture
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Gesture.OnUpdate
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted whenever an event is handled while the gesture is recognized.
  • Method Details

    • onUpdate

      void onUpdate(@Nullable EventSequence sequence)
      Emitted whenever an event is handled while the gesture is recognized.

      @sequence is guaranteed to pertain to the set of active touches.
      Parameters:
      sequence - the `GdkEventSequence` that was updated