語言

VelocityTracker.AddMovement(MotionEvent) 方法

定義

將使用者的移動資料加入追蹤器。

[Android.Runtime.Register("addMovement", "(Landroid/view/MotionEvent;)V", "")]
public void AddMovement(Android.Views.MotionEvent? e);
[<Android.Runtime.Register("addMovement", "(Landroid/view/MotionEvent;)V", "")>]
member this.AddMovement : Android.Views.MotionEvent -> unit

參數

e
MotionEvent

你收到並想追蹤的 MotionEvent。

屬性

備註

將使用者的移動資料加入追蹤器。 你應該將此稱為首MotionEvent#ACTION_DOWN字母 、 以及你MotionEvent#ACTION_MOVE所接收的後續MotionEvent#ACTION_UP事件 。 不過,你可以根據你想要的活動稱呼這個。

Java 文件 android.view.VelocityTracker.addMovement(android.view.MotionEvent)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於