IInputMethodSession.DispatchGenericMotionEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method is called when there is a generic motion event.
[Android.Runtime.Register("dispatchGenericMotionEvent", "(ILandroid/view/MotionEvent;Landroid/view/inputmethod/InputMethodSession$EventCallback;)V", "GetDispatchGenericMotionEvent_ILandroid_view_MotionEvent_Landroid_view_inputmethod_InputMethodSession_EventCallback_Handler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public 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:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member DispatchGenericMotionEvent : int * Android.Views.MotionEvent * Android.Views.InputMethods.IInputMethodSessionEventCallback -> unit
Parameters
- seq
- Int32
The motion event.
- callback
- IInputMethodSessionEventCallback
- Attributes
Remarks
This method is called when there is a generic motion event.
If the input method wants to handle this event, return true, otherwise return false and the caller (i.e. the application) will handle the event.
Android reference for android.view.inputmethod.InputMethodSession.dispatchGenericMotionEvent.
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.