AccessibilityNodeInfoCompat
open class AccessibilityNodeInfoCompat
kotlin.Any | |
↳ | androidx.core.view.accessibility.AccessibilityNodeInfoCompat |
Helper for accessing android.view.accessibility.AccessibilityNodeInfo
in a backwards compatible fashion.
Summary
Nested classes | |
---|---|
open |
A class defining an action that can be performed on an |
open |
Class with information if a node is a collection. |
open |
Class with information if a node is a collection item. |
open |
Class with information if a node is a range. |
Class with information of touch delegated views and regions. |
Constants | |
---|---|
static Int |
Action that gives accessibility focus to the node. |
static String |
Argument for specifying the collection column to make visible on screen. |
static String |
Argument for whether when moving at granularity to extend the selection or to move it otherwise. |
static String |
Argument for which HTML element to get moving to the next/previous HTML element. |
static String |
Argument for which movement granularity to be used when traversing the node text. |
static String |
Argument for specifying the x coordinate to which to move a window. |
static String |
Argument for specifying the y coordinate to which to move a window. |
static String |
Argument to represent the duration in milliseconds to press and hold a node. |
static String |
Argument for specifying the progress value to set. |
static String |
Argument for specifying the collection row to make visible on screen. |
static String |
Argument for specifying the selection end. |
static String |
Argument for specifying the selection start. |
static String |
Argument for specifying the text content to set |
static Int |
Action that clears accessibility focus of the node. |
static Int |
Action that unfocuses the node. |
static Int |
Action that unselects the node. |
static Int |
Action that clicks on the node info. |
static Int |
Action to collapse an expandable node. |
static Int |
Action to copy the current selection to the clipboard. |
static Int |
Action to cut the current selection and place it to the clipboard. |
static Int |
Action to dismiss a dismissable node. |
static Int |
Action to expand an expandable node. |
static Int |
Action that focuses the node. |
static Int |
Action that long clicks on the node. |
static Int |
Action that requests to go to the next entity in this node's text at a given movement granularity. |
static Int |
Action to move to the next HTML element of a given type. |
static Int |
Action to paste the current clipboard content. |
static Int |
Action that requests to go to the previous entity in this node's text at a given movement granularity. |
static Int |
Action to move to the previous HTML element of a given type. |
static Int |
Action to scroll the node content backward. |
static Int |
Action to scroll the node content forward. |
static Int |
Action that selects the node. |
static Int |
Action to set the selection. |
static Int |
Action that sets the text of the node. |
static Int |
The accessibility focus. |
static Int |
The input focus. |
static Int |
Movement granularity bit for traversing the text of a node by character. |
static Int |
Movement granularity bit for traversing the text of a node by line. |
static Int |
Movement granularity bit for traversing the text of a node by page. |
static Int |
Movement granularity bit for traversing the text of a node by paragraph. |
static Int |
Movement granularity bit for traversing the text of a node by word. |
Public constructors | |
---|---|
Creates a new instance wrapping an |
Public methods | |
---|---|
open Unit |
Adds an action that can be performed on the node. |
open Unit |
Adds an action that can be performed on the node. |
open Unit |
Adds a child. |
open Unit |
Adds a virtual child which is a descendant of the given |
open Boolean |
Gets if this node opens a popup or a dialog. |
open Boolean | |
open MutableList<AccessibilityNodeInfoCompat!>! |
Finds |
open MutableList<AccessibilityNodeInfoCompat!>! |
findAccessibilityNodeInfosByViewId(viewId: String!) Finds |
open AccessibilityNodeInfoCompat! |
Find the view that has the specified focus type. |
open AccessibilityNodeInfoCompat! |
focusSearch(direction: Int) Searches for the nearest view in the specified direction that can take input focus. |
open MutableList<AccessibilityNodeInfoCompat.AccessibilityActionCompat!>! |
Gets the actions that can be performed on the node. |
open Int |
Gets the actions that can be performed on the node. |
open Unit |
getBoundsInParent(outBounds: Rect!) Gets the node bounds in the viewParent's coordinates. |
open Unit |
getBoundsInScreen(outBounds: Rect!) Gets the node bounds in screen coordinates. |
open AccessibilityNodeInfoCompat! |
Get the child at given index. |
open Int |
Gets the number of children. |
open CharSequence! |
Gets the class this node comes from. |
open AccessibilityNodeInfoCompat.CollectionInfoCompat! |
Gets the collection info if the node is a collection. |
open AccessibilityNodeInfoCompat.CollectionItemInfoCompat! |
Gets the collection item info if the node is a collection item. |
open CharSequence! |
Gets the content description of this node. |
open Int |
Get the drawing order of the view corresponding it this node. |
open CharSequence! |
getError() Gets the error text of this node. |
open Bundle! |
Gets an optional bundle with extra data. |
open CharSequence? |
Gets the hint text of this node. |
open Any! |
getInfo() |
open Int |
Gets the input type of the source as defined by |
open AccessibilityNodeInfoCompat! |
Gets the node info for which the view represented by this info serves as a label for accessibility purposes. |
open AccessibilityNodeInfoCompat! |
Gets the node info which serves as the label of the view represented by this info for accessibility purposes. |
open Int |
Gets the node's live region mode. |
open Int |
Returns the maximum text length for this node. |
open Int |
Gets the movement granularities for traversing the text of this node. |
open CharSequence! |