View.DispatchGenericFocusedEvent(MotionEvent) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将一般运动事件调度到当前聚焦的视图。
[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
参数
要调度的运动事件。
返回
如果事件由视图处理,则为 True;否则为 false。
- 属性
注解
将一般运动事件调度到当前聚焦的视图。
请勿直接调用此方法。 请改为调用 #dispatchGenericMotionEvent(MotionEvent)
。
的 android.view.View.dispatchGenericFocusedEvent(android.view.MotionEvent)
Java 文档。
此页面的某些部分是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的条款使用。