sendMotionEvent method

Future<void> sendMotionEvent(
  1. AndroidMotionEvent event
)
override

Sends an Android MotionEvent to the view.

The Android MotionEvent object is created with MotionEvent.obtain. See documentation of MotionEvent.obtain for description of the parameters.

See AndroidViewController.dispatchPointerEvent for sending a PointerEvent.

Implementation

Future<void> sendMotionEvent(AndroidMotionEvent event) =>
    _controller.sendMotionEvent(event);