다음을 통해 공유


MotionEvent.HistorySize Property

Definition

Returns the number of historical points in this event.

public int HistorySize { [Android.Runtime.Register("getHistorySize", "()I", "")] get; }
[<get: Android.Runtime.Register("getHistorySize", "()I", "")>]
member this.HistorySize : int

Property Value

Returns the number of historical points in the event.

Attributes

Remarks

Returns the number of historical points in this event. These are movements that have occurred between this event and the previous event. This only applies to ACTION_MOVE events -- all other actions will have a size of 0.

Java documentation for android.view.MotionEvent.getHistorySize().

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