Android Guides | Samples

Android.App.Dialog.DispatchTrackballEvent Method

Called to process trackball events.

Syntax

[Android.Runtime.Register("dispatchTrackballEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchTrackballEvent_Landroid_view_MotionEvent_Handler")]
public virtual Boolean DispatchTrackballEvent (MotionEvent ev)

Parameters

ev
The trackball event.

Remarks

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