Partager via


View.SetOnCapturedPointerListener(View+IOnCapturedPointerListener) Method

Definition

Set a listener to receive callbacks when the pointer capture state of a view changes.

[Android.Runtime.Register("setOnCapturedPointerListener", "(Landroid/view/View$OnCapturedPointerListener;)V", "GetSetOnCapturedPointerListener_Landroid_view_View_OnCapturedPointerListener_Handler", ApiSince=26)]
public virtual void SetOnCapturedPointerListener (Android.Views.View.IOnCapturedPointerListener? l);
[<Android.Runtime.Register("setOnCapturedPointerListener", "(Landroid/view/View$OnCapturedPointerListener;)V", "GetSetOnCapturedPointerListener_Landroid_view_View_OnCapturedPointerListener_Handler", ApiSince=26)>]
abstract member SetOnCapturedPointerListener : Android.Views.View.IOnCapturedPointerListener -> unit
override this.SetOnCapturedPointerListener : Android.Views.View.IOnCapturedPointerListener -> unit

Parameters

l
View.IOnCapturedPointerListener

The OnCapturedPointerListener to receive callbacks.

Attributes

Remarks

Java documentation for android.view.View.setOnCapturedPointerListener(android.view.OnCapturedPointerListener).

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