語言

Window.ICallback.DispatchTrackballEvent(MotionEvent) 方法

定義

被召喚處理軌跡球事件。

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

參數

e
MotionEvent

軌跡球比賽。

傳回

如果此事件被消耗,則 返回 true。

屬性

備註

被召喚處理軌跡球事件。 至少你的實作必須執行 android.view.Window#superDispatchTrackballEvent 標準軌跡球處理。

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

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

適用於