Udostępnij za pośrednictwem


View.OnCapturedPointerEvent(MotionEvent) Method

Definition

Implement this method to handle captured pointer events

[Android.Runtime.Register("onCapturedPointerEvent", "(Landroid/view/MotionEvent;)Z", "GetOnCapturedPointerEvent_Landroid_view_MotionEvent_Handler", ApiSince=26)]
public virtual bool OnCapturedPointerEvent (Android.Views.MotionEvent? e);
[<Android.Runtime.Register("onCapturedPointerEvent", "(Landroid/view/MotionEvent;)Z", "GetOnCapturedPointerEvent_Landroid_view_MotionEvent_Handler", ApiSince=26)>]
abstract member OnCapturedPointerEvent : Android.Views.MotionEvent -> bool
override this.OnCapturedPointerEvent : Android.Views.MotionEvent -> bool

Parameters

Returns

True if the event was handled, false otherwise.

Attributes

Remarks

Implement this method to handle captured pointer events

Java documentation for android.view.View.onCapturedPointerEvent(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