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
參數
該動議事件將被發送。
傳回
如果事件是由視圖處理,則為真;否則為假。
- 屬性
備註
向目前聚焦的視圖發送一個通用的動態事件。
請勿直接呼叫這個方法。 請改為呼叫 #dispatchGenericMotionEvent(MotionEvent) 。
Java 文件 android.view.View.dispatchGenericFocusedEvent(android.view.MotionEvent)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。