Share via


View.DispatchGenericFocusedEvent(MotionEvent) Method

Definition

Dispatch a generic motion event to the currently focused view.

[Android.Runtime.Register("dispatchGenericFocusedEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericFocusedEvent_Landroid_view_MotionEvent_Handler")]
protected virtual bool DispatchGenericFocusedEvent (Android.Views.MotionEvent? e);
[<Android.Runtime.Register("dispatchGenericFocusedEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericFocusedEvent_Landroid_view_MotionEvent_Handler")>]
abstract member DispatchGenericFocusedEvent : Android.Views.MotionEvent -> bool
override this.DispatchGenericFocusedEvent : 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 generic motion event to the currently focused view.

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

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