共用方式為


KeyEvent.EventTime Property

Definition

Retrieve the time this event occurred, in the android.os.SystemClock#uptimeMillis time base.

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

Property Value

Returns the time this event occurred, in the android.os.SystemClock#uptimeMillis time base.

Attributes

Remarks

Retrieve the time this event occurred, in the android.os.SystemClock#uptimeMillis time base.

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

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