Android.Views.Accessibility.AccessibilityNodeProvider.CreateAccessibilityNodeInfo Method
Returns an Android.Views.Accessibility.AccessibilityNodeInfo representing a virtual view, i.e. a descendant of the host View, with the given virtualViewId or the host View itself if virtualViewId equals to AccessibilityNodeProvider.HostViewId.

Syntax

[Android.Runtime.Register("createAccessibilityNodeInfo", "(I)Landroid/view/accessibility/AccessibilityNodeInfo;", "GetCreateAccessibilityNodeInfo_IHandler")]
public virtual AccessibilityNodeInfo CreateAccessibilityNodeInfo (int virtualViewId)

See Also

Android.Views.View.CreateAccessibilityNodeInfo
AccessibilityNodeInfo

Parameters

virtualViewId
A client defined virtual view id.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns an Android.Views.Accessibility.AccessibilityNodeInfo representing a virtual view, i.e. a descendant of the host View, with the given virtualViewId or the host View itself if virtualViewId equals to AccessibilityNodeProvider.HostViewId.

A virtual descendant is an imaginary View that is reported as a part of the view hierarchy for accessibility purposes. This enables custom views that draw complex content to report them selves as a tree of virtual views, thus conveying their logical structure.

The implementer is responsible for obtaining an accessibility node info from the pool of reusable instances and setting the desired properties of the node info before returning it.

[Android Documentation]

Requirements

Namespace: Android.Views.Accessibility
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16