KeyEvent.DownTime Property

Definition

Retrieve the time of the most recent key down event, in the android.os.SystemClock#uptimeMillis time base.

public long DownTime { [Android.Runtime.Register("getDownTime", "()J", "")] get; }
[<get: Android.Runtime.Register("getDownTime", "()J", "")>]
member this.DownTime : int64

Property Value

Returns the most recent key down time, in the android.os.SystemClock#uptimeMillis time base

Attributes

Remarks

Retrieve the time of the most recent key down event, in the android.os.SystemClock#uptimeMillis time base. If this is a down event, this will be the same as #getEventTime(). Note that when chording keys, this value is the down time of the most recently pressed key, which may <em>not</em> be the same physical key of this event.

Java documentation for android.view.KeyEvent.getDownTime().

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