Language

AbstractInputMethodService.AbstractInputMethodSessionImpl.DispatchGenericMotionEvent Method

Definition

Take care of dispatching incoming generic motion events to the appropriate callbacks on the service, and tell the client when this is done.

[Android.Runtime.Register("dispatchGenericMotionEvent", "(ILandroid/view/MotionEvent;Landroid/view/inputmethod/InputMethodSession$EventCallback;)V", "GetDispatchGenericMotionEvent_ILandroid_view_MotionEvent_Landroid_view_inputmethod_InputMethodSession_EventCallback_Handler")]
public virtual void DispatchGenericMotionEvent(int seq, Android.Views.MotionEvent e, Android.Views.InputMethods.IInputMethodSessionEventCallback callback);
[<Android.Runtime.Register("dispatchGenericMotionEvent", "(ILandroid/view/MotionEvent;Landroid/view/inputmethod/InputMethodSession$EventCallback;)V", "GetDispatchGenericMotionEvent_ILandroid_view_MotionEvent_Landroid_view_inputmethod_InputMethodSession_EventCallback_Handler")>]
abstract member DispatchGenericMotionEvent : int * Android.Views.MotionEvent * Android.Views.InputMethods.IInputMethodSessionEventCallback -> unit
override this.DispatchGenericMotionEvent : int * Android.Views.MotionEvent * Android.Views.InputMethods.IInputMethodSessionEventCallback -> unit

Parameters

seq
Int32

The sequence number passed to the completion callback, if provided.

e
MotionEvent

The motion event.

callback
IInputMethodSessionEventCallback

The callback that receives the sequence number and handled result, or null.

Implements

Attributes

Remarks

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