次の方法で共有


VerifiedKeyEvent.DownTimeNanos Property

Definition

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

public long DownTimeNanos { [Android.Runtime.Register("getDownTimeNanos", "()J", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getDownTimeNanos", "()J", "", ApiSince=30)>]
member this.DownTimeNanos : int64

Property Value

Attributes

Remarks

Retrieve the time of the most recent key down event, in the android.os.SystemClock#uptimeMillis time base, but in nanoseconds. If this is a down event, this will be the same as VerifiedInputEvent#getEventTimeNanos().

Java documentation for android.view.VerifiedKeyEvent.getDownTimeNanos().

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