語言

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

動態事件。

屬性

備註

Java 文件 android.view.inputmethod.InputMethodSession.dispatchGenericMotionEvent(int, android.view.MotionEvent, android.view.inputmethod.EventCallback)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

另請參閱