共用方式為


View.AccessibilityDelegate.DispatchPopulateAccessibilityEvent 方法

定義

AccessibilityEvent先將 分派給主機View,然後再將其子系分派至其子系,以便將其文字內容新增至事件。

[Android.Runtime.Register("dispatchPopulateAccessibilityEvent", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z", "GetDispatchPopulateAccessibilityEvent_Landroid_view_View_Landroid_view_accessibility_AccessibilityEvent_Handler")]
public virtual bool DispatchPopulateAccessibilityEvent (Android.Views.View host, Android.Views.Accessibility.AccessibilityEvent e);
[<Android.Runtime.Register("dispatchPopulateAccessibilityEvent", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityEvent;)Z", "GetDispatchPopulateAccessibilityEvent_Landroid_view_View_Landroid_view_accessibility_AccessibilityEvent_Handler")>]
abstract member DispatchPopulateAccessibilityEvent : Android.Views.View * Android.Views.Accessibility.AccessibilityEvent -> bool
override this.DispatchPopulateAccessibilityEvent : Android.Views.View * Android.Views.Accessibility.AccessibilityEvent -> bool

參數

host
View

裝載委派的檢視。

e
AccessibilityEvent

事件。

傳回

True 是表示 如果事件母體擴展已完成。

屬性

備註

AccessibilityEvent先將 分派給主機View,然後再將其子系分派至其子系,以便將其文字內容新增至事件。

默認實作的行為與未設定輔助功能委派的情況相同 View#dispatchPopulateAccessibilityEvent(AccessibilityEvent) View#dispatchPopulateAccessibilityEvent(AccessibilityEvent)

android.view.View.AccessibilityDelegate.dispatchPopulateAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

另請參閱