MotionEvent.GetHistoricalPointerCoords Method

Definition

Populates a PointerCoords object with historical pointer coordinate data, as per #getPointerCoords, that occurred between this event and the previous event for the given pointer.

[Android.Runtime.Register("getHistoricalPointerCoords", "(IILandroid/view/MotionEvent$PointerCoords;)V", "")]
public void GetHistoricalPointerCoords (int pointerIndex, int pos, Android.Views.MotionEvent.PointerCoords? outPointerCoords);
[<Android.Runtime.Register("getHistoricalPointerCoords", "(IILandroid/view/MotionEvent$PointerCoords;)V", "")>]
member this.GetHistoricalPointerCoords : int * int * Android.Views.MotionEvent.PointerCoords -> unit

Parameters

pointerIndex
Int32

Raw index of pointer to retrieve. Value may be from 0 (the first pointer that is down) to #getPointerCount()-1.

pos
Int32

Which historical value to return; must be less than #getHistorySize

outPointerCoords
MotionEvent.PointerCoords

The pointer coordinate object to populate.

Attributes

Remarks

Java documentation for android.view.MotionEvent.getHistoricalPointerCoords(int, int, android.view.PointerCoords).

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

See also

  • HistorySize
  • <xref:Android.Views.MotionEvent.GetPointerCoords(System.Int32%2c+.PointerCoords)>