MotionEvent.GetHistoricalOrientation MotionEvent.GetHistoricalOrientation Method

Definition

Overloads

GetHistoricalOrientation(Int32) GetHistoricalOrientation(Int32)

GetHistoricalOrientation(Int32, Int32) for the first pointer index (may be an arbitrary pointer identifier).

GetHistoricalOrientation(Int32, Int32) GetHistoricalOrientation(Int32, Int32)

Returns a historical orientation coordinate, as per GetOrientation(Int32), that occurred between this event and the previous event for the given pointer.

GetHistoricalOrientation(Int32) GetHistoricalOrientation(Int32)

GetHistoricalOrientation(Int32, Int32) for the first pointer index (may be an arbitrary pointer identifier).

[Android.Runtime.Register("getHistoricalOrientation", "(I)F", "", ApiSince=9)]
public float GetHistoricalOrientation (int pos);
member this.GetHistoricalOrientation : int -> single

Parameters

pos
Int32 Int32

Which historical value to return; must be less than HistorySize

Returns

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.

See also

GetHistoricalOrientation(Int32, Int32) GetHistoricalOrientation(Int32, Int32)

Returns a historical orientation coordinate, as per GetOrientation(Int32), that occurred between this event and the previous event for the given pointer.

[Android.Runtime.Register("getHistoricalOrientation", "(II)F", "", ApiSince=9)]
public float GetHistoricalOrientation (int pointerIndex, int pos);
member this.GetHistoricalOrientation : int * int -> single

Parameters

pointerIndex
Int32 Int32

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

pos
Int32 Int32

Which historical value to return; must be less than HistorySize

Returns

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.

See also

Applies to