Udostępnij za pośrednictwem


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")]
public virtual void SetOnGenericMotionListener (Android.Views.View.IOnGenericMotionListener? l);
[<Android.Runtime.Register("setOnGenericMotionListener", "(Landroid/view/View$OnGenericMotionListener;)V", "GetSetOnGenericMotionListener_Landroid_view_View_OnGenericMotionListener_Handler")>]
abstract member SetOnGenericMotionListener : Android.Views.View.IOnGenericMotionListener -> unit
override this.SetOnGenericMotionListener : Android.Views.View.IOnGenericMotionListener -> unit

Parameters

l
View.IOnGenericMotionListener

the generic motion listener to attach to this view

Attributes

Remarks

Java documentation for android.view.View.setOnGenericMotionListener(android.view.OnGenericMotionListener).

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