View.SetOnGenericMotionListener(View+IOnGenericMotionListener) View.SetOnGenericMotionListener(View+IOnGenericMotionListener) Method

Definition

Register a callback to be invoked when a generic motion event is sent to this view.

[Android.Runtime.Register("setOnGenericMotionListener", "(Landroid/view/View$OnGenericMotionListener;)V", "GetSetOnGenericMotionListener_Landroid_view_View_OnGenericMotionListener_Handler", ApiSince=12)]
public virtual void SetOnGenericMotionListener (Android.Views.View.IOnGenericMotionListener l);
abstract member SetOnGenericMotionListener : Android.Views.View.IOnGenericMotionListener -> unit
override this.SetOnGenericMotionListener : Android.Views.View.IOnGenericMotionListener -> unit

Parameters

l
View.IOnGenericMotionListener View.IOnGenericMotionListener

the generic motion listener to attach to this view

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to