View.CreateAccessibilityNodeInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an AccessibilityNodeInfo
representing this view from the
point of view of an android.accessibilityservice.AccessibilityService
.
[Android.Runtime.Register("createAccessibilityNodeInfo", "()Landroid/view/accessibility/AccessibilityNodeInfo;", "GetCreateAccessibilityNodeInfoHandler")]
public virtual Android.Views.Accessibility.AccessibilityNodeInfo? CreateAccessibilityNodeInfo ();
[<Android.Runtime.Register("createAccessibilityNodeInfo", "()Landroid/view/accessibility/AccessibilityNodeInfo;", "GetCreateAccessibilityNodeInfoHandler")>]
abstract member CreateAccessibilityNodeInfo : unit -> Android.Views.Accessibility.AccessibilityNodeInfo
override this.CreateAccessibilityNodeInfo : unit -> Android.Views.Accessibility.AccessibilityNodeInfo
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.