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

要调度的运动事件。

返回

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

属性

注解

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

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

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

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

适用于