Class MotionEventTracker


  • public final class MotionEventTracker
    extends Object
    Tracks the motion events received by the FlutterView.
    • Method Detail

      • pop

        @Nullable
        public MotionEvent pop​(@NonNull
                               MotionEventTracker.MotionEventId eventId)
        Returns the MotionEvent corresponding to the eventId while discarding all the motion events that occurred prior to the event represented by the eventId. Returns null if this event was popped or discarded.