Sdílet prostřednictvím


TouchInteractionController.ICallback.OnMotionEvent(MotionEvent) Method

Definition

Called when the framework has sent a motion event to the service.

[Android.Runtime.Register("onMotionEvent", "(Landroid/view/MotionEvent;)V", "GetOnMotionEvent_Landroid_view_MotionEvent_Handler:Android.AccessibilityServices.TouchInteractionController/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]
public void OnMotionEvent (Android.Views.MotionEvent e);
[<Android.Runtime.Register("onMotionEvent", "(Landroid/view/MotionEvent;)V", "GetOnMotionEvent_Landroid_view_MotionEvent_Handler:Android.AccessibilityServices.TouchInteractionController/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
abstract member OnMotionEvent : Android.Views.MotionEvent -> unit

Parameters

Attributes

Remarks

Called when the framework has sent a motion event to the service.

Java documentation for android.accessibilityservice.TouchInteractionController.Callback.onMotionEvent(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