Udostępnij za pośrednictwem


View.DispatchHoverEvent(MotionEvent) Method

Definition

Dispatch a hover event.

[Android.Runtime.Register("dispatchHoverEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchHoverEvent_Landroid_view_MotionEvent_Handler")]
protected virtual bool DispatchHoverEvent (Android.Views.MotionEvent? e);
[<Android.Runtime.Register("dispatchHoverEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchHoverEvent_Landroid_view_MotionEvent_Handler")>]
abstract member DispatchHoverEvent : Android.Views.MotionEvent -> bool
override this.DispatchHoverEvent : 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

Dispatch a hover event.

Do not call this method directly. Call #dispatchGenericMotionEvent(MotionEvent) instead.

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