共用方式為


MotionEvent.DownTime Property

Definition

Returns the time (in ms) when the user originally pressed down to start a stream of position events.

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

Property Value

Attributes

Remarks

Returns the time (in ms) when the user originally pressed down to start a stream of position events.

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