Android Guides | Samples

Android.Views.View.IOnGenericMotionListener

Interface definition for a callback to be invoked when a generic motion event is dispatched to this view.

See Also: View+IOnGenericMotionListener

Syntax

[Android.Runtime.Register("android/view/View$OnGenericMotionListener", "", "Android.Views.View/IOnGenericMotionListenerInvoker")]
public interface View.IOnGenericMotionListener : IJavaObject, IDisposable

Remarks

Interface definition for a callback to be invoked when a generic motion event is dispatched to this view. The callback will be invoked before the generic motion event is given to the view.

[Android Documentation]

Requirements

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

The members of Android.Views.View.IOnGenericMotionListener are listed below.

Public Methods

OnGenericMotion(View, MotionEvent) : Boolean
Called when a generic motion event is dispatched to a view.