AccessibilityNodeProviderCompat

public class AccessibilityNodeProviderCompat
extends Object

java.lang.Object
   ↳ androidx.core.view.accessibility.AccessibilityNodeProviderCompat


Helper for accessing AccessibilityNodeProvider.

Summary

Constants

int HOST_VIEW_ID

The virtual id for the hosting View.

Public constructors

AccessibilityNodeProviderCompat()

Creates a new instance.

AccessibilityNodeProviderCompat(Object provider)

Creates a new instance wrapping an AccessibilityNodeProvider.

Public methods

void addExtraDataToAccessibilityNodeInfo(int virtualViewId, AccessibilityNodeInfoCompat info, String extraDataKey, Bundle arguments)

Adds extra data to an AccessibilityNodeInfoCompat based on an explicit request for the additional data.

AccessibilityNodeInfoCompat createAccessibilityNodeInfo(int virtualViewId)

Returns an AccessibilityNodeInfoCompat representing a virtual view, i.e.

List<AccessibilityNodeInfoCompat> findAccessibilityNodeInfosByText(String text, int virtualViewId)

Finds AccessibilityNodeInfoCompats by text.

AccessibilityNodeInfoCompat findFocus(int focus)

Find the virtual view, i.e.

Object getProvider()
boolean performAction(int virtualViewId, int action, Bundle arguments)

Performs an accessibility action on a virtual view, i.e.

Inherited methods