Condividi tramite


MotionEvent.GetHistoricalEventTime(Int32) Method

Definition

Returns the time that a historical movement occurred between this event and the previous event, in the android.os.SystemClock#uptimeMillis time base.

[Android.Runtime.Register("getHistoricalEventTime", "(I)J", "")]
public long GetHistoricalEventTime (int pos);
[<Android.Runtime.Register("getHistoricalEventTime", "(I)J", "")>]
member this.GetHistoricalEventTime : int -> int64

Parameters

pos
Int32

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

Returns

Returns the time that a historical movement occurred between this event and the previous event, in the android.os.SystemClock#uptimeMillis time base.

Attributes

Remarks

Returns the time that a historical movement occurred between this event and the previous event, in the android.os.SystemClock#uptimeMillis time base.

This only applies to ACTION_MOVE events.

Java documentation for android.view.MotionEvent.getHistoricalEventTime(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

See also