View.CreateAccessibilityNodeInfo Method

Definition

Returns an AccessibilityNodeInfo representing this view from the point of view of an android.accessibilityservice.AccessibilityService.

C#
[Android.Runtime.Register("createAccessibilityNodeInfo", "()Landroid/view/accessibility/AccessibilityNodeInfo;", "GetCreateAccessibilityNodeInfoHandler")]
public virtual Android.Views.Accessibility.AccessibilityNodeInfo? CreateAccessibilityNodeInfo ();

Returns

A populated AccessibilityNodeInfo.

Attributes

Remarks

Returns an AccessibilityNodeInfo representing this view from the point of view of an android.accessibilityservice.AccessibilityService. This method is responsible for obtaining an accessibility node info from a pool of reusable instances and calling #onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo) on this view to initialize the former.

Note: The client is responsible for recycling the obtained instance by calling AccessibilityNodeInfo#recycle() to minimize object creation.

Java documentation for android.view.View.createAccessibilityNodeInfo().

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

Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35

See also