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 才能执行标准轨迹球处理。

适用于 . 的 android.view.Window.Callback.dispatchTrackballEvent(android.view.MotionEvent)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于