Sdílet prostřednictvím


View.AccessibilityDelegate.OnInitializeAccessibilityNodeInfo Method

Definition

Initializes an AccessibilityNodeInfo with information about the host view.

[Android.Runtime.Register("onInitializeAccessibilityNodeInfo", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityNodeInfo;)V", "GetOnInitializeAccessibilityNodeInfo_Landroid_view_View_Landroid_view_accessibility_AccessibilityNodeInfo_Handler")]
public virtual void OnInitializeAccessibilityNodeInfo (Android.Views.View host, Android.Views.Accessibility.AccessibilityNodeInfo info);
[<Android.Runtime.Register("onInitializeAccessibilityNodeInfo", "(Landroid/view/View;Landroid/view/accessibility/AccessibilityNodeInfo;)V", "GetOnInitializeAccessibilityNodeInfo_Landroid_view_View_Landroid_view_accessibility_AccessibilityNodeInfo_Handler")>]
abstract member OnInitializeAccessibilityNodeInfo : Android.Views.View * Android.Views.Accessibility.AccessibilityNodeInfo -> unit
override this.OnInitializeAccessibilityNodeInfo : Android.Views.View * Android.Views.Accessibility.AccessibilityNodeInfo -> unit

Parameters

host
View

The View hosting the delegate.

info
AccessibilityNodeInfo

The instance to initialize.

Attributes

Remarks

Initializes an AccessibilityNodeInfo with information about the host view.

The default implementation behaves as View#onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo) View#onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo) for the case of no accessibility delegate been set.

Java documentation for android.view.View.AccessibilityDelegate.onInitializeAccessibilityNodeInfo(android.view.View, android.view.accessibility.AccessibilityNodeInfo).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also