MotionPredictor.Record(MotionEvent) Method

Definition

Record a movement so that in the future, a prediction for the current gesture can be generated.

[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

Parameters

Attributes

Remarks

Record a movement so that in the future, a prediction for the current gesture can be generated. Only gestures from one input device at a time should be provided to an instance of MotionPredictor.

Java documentation for android.view.MotionPredictor.record(android.view.MotionEvent).

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