View.IOnCapturedPointerListener.OnCapturedPointer(View, MotionEvent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.