Udostępnij za pośrednictwem


View.DispatchTrackballEvent(MotionEvent) Method

Definition

Pass a trackball motion event down to the focused view.

[Android.Runtime.Register("dispatchTrackballEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchTrackballEvent_Landroid_view_MotionEvent_Handler")]
public virtual bool DispatchTrackballEvent (Android.Views.MotionEvent? e);
[<Android.Runtime.Register("dispatchTrackballEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchTrackballEvent_Landroid_view_MotionEvent_Handler")>]
abstract member DispatchTrackballEvent : Android.Views.MotionEvent -> bool
override this.DispatchTrackballEvent : Android.Views.MotionEvent -> bool

Parameters

e
MotionEvent

The motion event to be dispatched.

Returns

True if the event was handled by the view, false otherwise.

Attributes

Remarks

Pass a trackball motion event down to the focused view.

Java documentation for android.view.View.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