View.IOnCapturedPointerListener.OnCapturedPointer(View, MotionEvent) Method

Definition

Called when a captured pointer event is dispatched to a view.

[Android.Runtime.Register("onCapturedPointer", "(Landroid/view/View;Landroid/view/MotionEvent;)Z", "GetOnCapturedPointer_Landroid_view_View_Landroid_view_MotionEvent_Handler:Android.Views.View/IOnCapturedPointerListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public bool OnCapturedPointer (Android.Views.View? view, Android.Views.MotionEvent? e);
[<Android.Runtime.Register("onCapturedPointer", "(Landroid/view/View;Landroid/view/MotionEvent;)Z", "GetOnCapturedPointer_Landroid_view_View_Landroid_view_MotionEvent_Handler:Android.Views.View/IOnCapturedPointerListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member OnCapturedPointer : Android.Views.View * Android.Views.MotionEvent -> bool

Parameters

view
View

The view this event has been dispatched to.

Returns

True if the listener has consumed the event, false otherwise.

Attributes

Remarks

Called when a captured pointer event is dispatched to a view.

Java documentation for android.view.View.OnCapturedPointerListener.onCapturedPointer(android.view.View, android.view.MotionEvent).

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