Language

IInputMethodSession.DispatchGenericMotionEvent メソッド

定義

このメソッドは、一般的なモーション イベントがある場合に呼び出されます。

[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

パラメーター

seq
Int32

イベントとその完了コールバックとの照合に使用されるシーケンス識別子。

e
MotionEvent

モーション イベント。

callback
IInputMethodSessionEventCallback

処理後にイベントの処理済み状態を受け取るコールバック。

属性

注釈

このメソッドは、一般的なモーション イベントがある場合に呼び出されます。

callbackが null でない場合は、入力メソッドがイベントを介して処理したかどうかを報告します。 イベントが処理されない場合、呼び出し元はそれを処理できます。

android.view.inputmethod.InputMethodSession.dispatchGenericMotionEventの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

関連項目