Android.App.Dialog.OnGenericMotionEvent Method
Called when a generic motion event was not handled by any of the views inside of the dialog.

Syntax

[Android.Runtime.Register("onGenericMotionEvent", "(Landroid/view/MotionEvent;)Z", "GetOnGenericMotionEvent_Landroid_view_MotionEvent_Handler")]
public virtual bool OnGenericMotionEvent (Android.Views.MotionEvent e)

Parameters

e
The generic motion event being processed.

Returns

Documentation for this section has not yet been entered.

Remarks

Called when a generic motion event was not handled by any of the views inside of the dialog.

Generic motion events describe joystick movements, mouse hovers, track pad touches, scroll wheel movements and other input events. The Android.Views.MotionEvent.Source of the motion event specifies the class of input that was received. Implementations of this method must examine the bits in the source before processing the event. The following code example shows how this is done.

Generic motion events with source class Android.Views.InputDevice.SourceClassPointer are delivered to the view under the pointer. All other generic motion events are delivered to the focused view.

See Android.Views.View.OnGenericMotionEvent(Android.Views.MotionEvent) for an example of how to handle this event.

[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