MotionEvent.AddBatch Method

Definition

Overloads

AddBatch(Int64, MotionEvent+PointerCoords[], MetaKeyStates)

Add a new movement to the batch of movements in this event.

AddBatch(Int64, Single, Single, Single, Single, MetaKeyStates)

Add a new movement to the batch of movements in this event.

AddBatch(Int64, MotionEvent+PointerCoords[], MetaKeyStates)

Add a new movement to the batch of movements in this event.

[Android.Runtime.Register("addBatch", "(J[Landroid/view/MotionEvent$PointerCoords;I)V", "")]
public void AddBatch (long eventTime, Android.Views.MotionEvent.PointerCoords[]? pointerCoords, Android.Views.MetaKeyStates metaState);
[<Android.Runtime.Register("addBatch", "(J[Landroid/view/MotionEvent$PointerCoords;I)V", "")>]
member this.AddBatch : int64 * Android.Views.MotionEvent.PointerCoords[] * Android.Views.MetaKeyStates -> unit

Parameters

eventTime
Int64

The time stamp (in ms) for this data.

pointerCoords
MotionEvent.PointerCoords[]

The new pointer coordinates.

metaState
MetaKeyStates

Meta key state.

Attributes

Remarks

Java documentation for android.view.MotionEvent.addBatch(long, float, float, float, float, int).

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

AddBatch(Int64, Single, Single, Single, Single, MetaKeyStates)

Add a new movement to the batch of movements in this event.

[Android.Runtime.Register("addBatch", "(JFFFFI)V", "")]
public void AddBatch (long eventTime, float x, float y, float pressure, float size, Android.Views.MetaKeyStates metaState);
[<Android.Runtime.Register("addBatch", "(JFFFFI)V", "")>]
member this.AddBatch : int64 * single * single * single * single * Android.Views.MetaKeyStates -> unit

Parameters

eventTime
Int64

The time stamp (in ms) for this data.

x
Single

The new X position.

y
Single

The new Y position.

pressure
Single

The new pressure.

size
Single

The new size.

metaState
MetaKeyStates

Meta key state.

Attributes

Remarks

Java documentation for android.view.MotionEvent.addBatch(long, float, float, float, float, int).

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