語言

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 來執行標準處理。

Java 文件 android.view.Window.Callback.dispatchGenericMotionEvent(android.view.MotionEvent)。

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

適用於