Megosztás a következőn keresztül:


Window.ICallback.DispatchTrackballEvent(MotionEvent) Method

Definition

Called to process trackball events.

[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

Parameters

e
MotionEvent

The trackball event.

Returns

boolean Return true if this event was consumed.

Attributes

Remarks

Called to process trackball events. At the very least your implementation must call android.view.Window#superDispatchTrackballEvent to do the standard trackball processing.

Java documentation for android.view.Window.Callback.dispatchTrackballEvent(android.view.MotionEvent).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to