View.DispatchGenericFocusedEvent(MotionEvent) 方法

定义

将泛型运动事件调度到当前聚焦的视图。

[Android.Runtime.Register("dispatchGenericFocusedEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericFocusedEvent_Landroid_view_MotionEvent_Handler")]
protected virtual bool DispatchGenericFocusedEvent(Android.Views.MotionEvent? e);
[<Android.Runtime.Register("dispatchGenericFocusedEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchGenericFocusedEvent_Landroid_view_MotionEvent_Handler")>]
abstract member DispatchGenericFocusedEvent : Android.Views.MotionEvent -> bool
override this.DispatchGenericFocusedEvent : Android.Views.MotionEvent -> bool

参数

e
MotionEvent

要调度的动作事件。

返回

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

属性

注解

将泛型运动事件调度到当前聚焦的视图。

请勿直接调用此方法。 请改为调用 #dispatchGenericMotionEvent(MotionEvent)

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

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

适用于