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

参数

属性

注解

记录移动,以便将来生成当前手势的预测。 一次只应向 MotionPredictor 实例提供来自一个输入设备的手势。

适用于 . 的 android.view.MotionPredictor.record(android.view.MotionEvent)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于