Android Guides | Samples

Android.App.Dialog.DispatchTouchEvent Method

Called to process touch screen events.

Syntax

[Android.Runtime.Register("dispatchTouchEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchTouchEvent_Landroid_view_MotionEvent_Handler")]
public virtual Boolean DispatchTouchEvent (MotionEvent ev)

Parameters

ev
The touch screen event.

Remarks

Called to process touch screen events. You can override this to intercept all touch screen events before they are dispatched to the window. Be sure to call this implementation for touch screen 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 1