AccessibilityGestureEvent(Int32, Int32, IList<MotionEvent>) Constructor

Definition

Constructs an AccessibilityGestureEvent to be dispatched to an accessibility service.

[Android.Runtime.Register(".ctor", "(IILjava/util/List;)V", "", ApiSince=33)]
public AccessibilityGestureEvent (int gestureId, int displayId, System.Collections.Generic.IList<Android.Views.MotionEvent> motionEvents);
[<Android.Runtime.Register(".ctor", "(IILjava/util/List;)V", "", ApiSince=33)>]
new Android.AccessibilityServices.AccessibilityGestureEvent : int * int * System.Collections.Generic.IList<Android.Views.MotionEvent> -> Android.AccessibilityServices.AccessibilityGestureEvent

Parameters

gestureId
Int32

the id number of the gesture.

displayId
Int32

the display on which this gesture was performed.

motionEvents
IList<MotionEvent>

the motion events that lead to this gesture.

Attributes

Remarks

Constructs an AccessibilityGestureEvent to be dispatched to an accessibility service.

Java documentation for android.accessibilityservice.AccessibilityGestureEvent.AccessibilityGestureEvent(int, int, java.util.List<android.view.MotionEvent>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to