View.DispatchGenericMotionEvent(MotionEvent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Dispatch a generic motion event.
[Android.Runtime.Register("dispatchGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericMotionEvent_Landroid_view_MotionEvent_Handler")]
public virtual bool DispatchGenericMotionEvent (Android.Views.MotionEvent? e);
[<Android.Runtime.Register("dispatchGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericMotionEvent_Landroid_view_MotionEvent_Handler")>]
abstract member DispatchGenericMotionEvent : Android.Views.MotionEvent -> bool
override this.DispatchGenericMotionEvent : Android.Views.MotionEvent -> bool
Parameters
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.
Generic motion events with source class InputDevice#SOURCE_CLASS_POINTER
are delivered to the view under the pointer. All other generic motion events are delivered to the focused view. Hover events are handled specially and are delivered to #onHoverEvent(MotionEvent)
first.
Java documentation for android.view.View.dispatchGenericMotionEvent(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.