Share via


Window.ICallback.DispatchGenericMotionEvent(MotionEvent) 方法

定義

呼叫 以處理泛型動作事件。

[Android.Runtime.Register("dispatchGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericMotionEvent_Landroid_view_MotionEvent_Handler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool DispatchGenericMotionEvent (Android.Views.MotionEvent e);
[<Android.Runtime.Register("dispatchGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericMotionEvent_Landroid_view_MotionEvent_Handler:Android.Views.Window/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member DispatchGenericMotionEvent : Android.Views.MotionEvent -> bool

參數

e
MotionEvent

泛型動作事件。

傳回

布林值 如果已取用此事件,則傳回 true。

屬性

備註

呼叫 以處理泛型動作事件。 您至少必須呼叫 android.view.Window#superDispatchGenericMotionEvent 實作來執行標準處理。

android.view.Window.Callback.dispatchGenericMotionEvent(android.view.MotionEvent) JAVA 檔。

此頁面的部分是根據 原始碼專案所建立和共用的工作進行修改,並根據中所述的詞彙使用。

適用於