MotionEvent.AddBatch MotionEvent.AddBatch Method

Definition

Overloads

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

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

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

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

AddBatch(Int64, MotionEvent+PointerCoords[], MetaKeyStates) 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", "", ApiSince=9)]
public void AddBatch (long eventTime, Android.Views.MotionEvent.PointerCoords[] pointerCoords, Android.Views.MetaKeyStates metaState);
member this.AddBatch : int64 * Android.Views.MotionEvent.PointerCoords[] * Android.Views.MetaKeyStates -> unit

Parameters

eventTime
Int64 Int64

The time stamp (in ms) for this data.

pointerCoords
MotionEvent.PointerCoords[]

The new pointer coordinates.

metaState
MetaKeyStates MetaKeyStates

Meta key state.

Remarks

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.

AddBatch(Int64, Single, Single, Single, Single, MetaKeyStates) 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);
member this.AddBatch : int64 * single * single * single * single * Android.Views.MetaKeyStates -> unit

Parameters

eventTime
Int64 Int64

The time stamp (in ms) for this data.

x
Single Single

The new X position.

y
Single Single

The new Y position.

pressure
Single Single

The new pressure.

size
Single Single

The new size.

metaState
MetaKeyStates MetaKeyStates

Meta key state.

Remarks

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