MotionEvent.GetHistoricalPointerCoords(Int32, Int32, MotionEvent+PointerCoords) MotionEvent.GetHistoricalPointerCoords(Int32, Int32, MotionEvent+PointerCoords) Method


Populates a MotionEvent PointerCoords object with historical pointer coordinate data, as per GetPointerCoords(Int32, MotionEvent+PointerCoords), that occurred between this event and the previous event for the given pointer.

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


Int32 Int32

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

Int32 Int32

Which historical value to return; must be less than HistorySize

MotionEvent.PointerCoords MotionEvent.PointerCoords

The pointer coordinate object to populate.


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