语言

View.DispatchCapturedPointerEvent(MotionEvent) 方法

定义

将捕获的指针事件向下传递到焦点视图。

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

参数

e
MotionEvent

用于 e 的 Android.Views.MotionEvent 值。

返回

如此 如果事件由视图处理,则为 false;否则为 false。

属性

注解

将捕获的指针事件向下传递到焦点视图。

Java文档android.view.View.dispatchCapturedPointerEvent(android.view.MotionEvent)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于