語言

AbstractInputMethodService.OnGenericMotionEvent(MotionEvent) 方法

定義

實作這個來處理輸入法上的一般動態事件。

[Android.Runtime.Register("onGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetOnGenericMotionEvent_Landroid_view_MotionEvent_Handler")]
public virtual bool OnGenericMotionEvent(Android.Views.MotionEvent? e);
[<Android.Runtime.Register("onGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetOnGenericMotionEvent_Landroid_view_MotionEvent_Handler")>]
abstract member OnGenericMotionEvent : Android.Views.MotionEvent -> bool
override this.OnGenericMotionEvent : Android.Views.MotionEvent -> bool

參數

e
MotionEvent

收到的動議事件。

傳回

若事件在此函式中處理,則為真;否則為假。

屬性

備註

實作這個來處理輸入法上的一般動態事件。

的 android.inputmethodservice.AbstractInputMethodService.onGenericMotionEvent(android.view.MotionEvent)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於