Android Guides | Samples

Android.App.Dialog.DispatchGenericMotionEvent Method

Called to process generic motion events.

Syntax

[Android.Runtime.Register("dispatchGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericMotionEvent_Landroid_view_MotionEvent_Handler")]
public virtual Boolean DispatchGenericMotionEvent (MotionEvent ev)

Parameters

ev
The generic motion event.

Remarks

Called to process generic motion events. You can override this to intercept all generic motion events before they are dispatched to the window. Be sure to call this implementation for generic motion events that should be handled normally.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 12