AccessibilityNodeProviderCompat

Helper for accessing android.view.accessibility.AccessibilityNodeProvider.

Consider using a , a utility extension of AccessibilityNodeProvider, to simplify many aspects of providing information to accessibility services and managing accessibility focus.

Constructors

Link copied to clipboard
constructor()
Creates a new instance.
constructor(@Nullable provider: Any)
Creates a new instance wrapping an android.view.accessibility.AccessibilityNodeProvider.

Properties

Link copied to clipboard
val HOST_VIEW_ID: Int = -1
The virtual id for the hosting View.

Functions

Link copied to clipboard
open fun addExtraDataToAccessibilityNodeInfo(virtualViewId: Int, @NonNull info: AccessibilityNodeInfoCompat, @NonNull extraDataKey: String, @Nullable arguments: Bundle)
Adds extra data to an AccessibilityNodeInfoCompat based on an explicit request for the additional data.
Link copied to clipboard
Returns an AccessibilityNodeInfoCompat representing a virtual view, i.e.
Link copied to clipboard
Find the virtual view, i.e.
Link copied to clipboard
Link copied to clipboard
open fun performAction(virtualViewId: Int, action: Int, @Nullable arguments: Bundle): Boolean
Performs an accessibility action on a virtual view, i.e.