語言

MotionPredictor.Record(MotionEvent) 方法

定義

記錄一個動作,以便未來能對當前手勢產生預測。

[Android.Runtime.Register("record", "(Landroid/view/MotionEvent;)V", "", ApiSince=34)]
public void Record(Android.Views.MotionEvent e);
[<Android.Runtime.Register("record", "(Landroid/view/MotionEvent;)V", "", ApiSince=34)>]
member this.Record : Android.Views.MotionEvent -> unit

參數

e
MotionEvent

用於 e. 的 Android.Views.MotionEvent 值。

屬性

備註

記錄一個動作,以便未來能對當前手勢產生預測。 一次只能提供一個輸入裝置的手勢給 MotionPredictor 實例。

Java 文件 android.view.MotionPredictor.record(android.view.MotionEvent)

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

適用於