# AccessibilityNodeInfoCompat

Artifact: [androidx.core:core](https://developer.android.com/jetpack/androidx/releases/core) [View Source](https://cs.android.com/search?q=file:androidx/core/view/accessibility/AccessibilityNodeInfoCompat.java+class:androidx.core.view.accessibility.AccessibilityNodeInfoCompat) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

*** ** * ** ***


```
class AccessibilityNodeInfoCompat
```

<br />

*** ** * ** ***

Helper for accessing `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html` in a backwards compatible fashion.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat` A class defining an action that can be performed on an `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html`. |
| `class https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.CollectionInfoCompat` Class with information if a node is a collection. |
| `class https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.CollectionInfoCompat.Builder` Class for building `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.CollectionInfoCompat` objects. |
| `class https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.CollectionItemInfoCompat` Class with information if a node is a collection item. |
| `class https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.CollectionItemInfoCompat.Builder` Builder for creating `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.CollectionItemInfoCompat` objects. |
| `class https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.MathInfoCompat : https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.StructuredDataInfoCompat` Compat class for `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.MathInfo.html`, which is a class that holds information about a node that represents a mathematical expression. |
| `class https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.RangeInfoCompat` Class with information if a node is a range. |
| `class https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.SelectionCompat` Compat class for AccessibilityNodeInfo.Selection, which is a class that represents a selection of content that may extend across more than one `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html` instance. |
| `class https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.SelectionPositionCompat` Compat class for AccessibilityNodeInfo.SelectionPosition, which is a class that defines either the start or end of a selection that can span across multiple AccessibilityNodeInfo objects. |
| `abstract class https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.StructuredDataInfoCompat` Compat class for `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.StructuredDataInfo.html`, which is a abstract base class for holding structured semantic information about a node. |
| `class https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.TouchDelegateInfoCompat` Class with information of touch delegated views and regions. |

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ACCESSIBILITY_FOCUS() = 64` Action that gives accessibility focus to the node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_COLUMN_INT() = "android.view.accessibility.action.ARGUMENT_COLUMN_INT"` Argument for specifying the collection column to make visible on screen. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_DIRECTION_INT() = "androidx.core.view.accessibility.action.ARGUMENT_DIRECTION_INT"` Argument to represent the direction when using `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_IN_DIRECTION()`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN() = "ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN"` Argument for whether when moving at granularity to extend the selection or to move it otherwise. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_HTML_ELEMENT_STRING() = "ACTION_ARGUMENT_HTML_ELEMENT_STRING"` Argument for which HTML element to get moving to the next/previous HTML element. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT() = "ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT"` Argument for which movement granularity to be used when traversing the node text. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_MOVE_WINDOW_X() = "ACTION_ARGUMENT_MOVE_WINDOW_X"` Argument for specifying the x coordinate to which to move a window. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_MOVE_WINDOW_Y() = "ACTION_ARGUMENT_MOVE_WINDOW_Y"` Argument for specifying the y coordinate to which to move a window. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT() = "android.view.accessibility.action.ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT"` Argument to represent the duration in milliseconds to press and hold a node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_PROGRESS_VALUE() = "android.view.accessibility.action.ARGUMENT_PROGRESS_VALUE"` Argument for specifying the progress value to set. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_ROW_INT() = "android.view.accessibility.action.ARGUMENT_ROW_INT"` Argument for specifying the collection row to make visible on screen. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_SCROLL_AMOUNT_FLOAT() = "androidx.core.view.accessibility.action.ARGUMENT_SCROLL_AMOUNT_FLOAT"` Argument to represent the scroll amount as a percent of the visible area of a node, with 1.0F as the default. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_SELECTION_END_INT() = "ACTION_ARGUMENT_SELECTION_END_INT"` Argument for specifying the selection end. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_SELECTION_PARCELABLE() = "android.view.accessibility.action.ARGUMENT_SELECTION_PARCELABLE"` Argument for specifying the extended selection. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_SELECTION_START_INT() = "ACTION_ARGUMENT_SELECTION_START_INT"` Argument for specifying the selection start. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE() = "ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE"` Argument for specifying the text content to set |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_CLEAR_ACCESSIBILITY_FOCUS() = 128` Action that clears accessibility focus of the node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_CLEAR_FOCUS() = 2` Action that unfocuses the node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_CLEAR_SELECTION() = 8` Action that unselects the node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_CLICK() = 16` Action that clicks on the node info. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_COLLAPSE() = 524288` Action to collapse an expandable node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_COPY() = 16384` Action to copy the current selection to the clipboard. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_CUT() = 65536` Action to cut the current selection and place it to the clipboard. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_DISMISS() = 1048576` Action to dismiss a dismissible node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_EXPAND() = 262144` Action to expand an expandable node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_FOCUS() = 1` Action that focuses the node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_LONG_CLICK() = 32` Action that long clicks on the node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_NEXT_AT_MOVEMENT_GRANULARITY() = 256` Action that requests to go to the next entity in this node's text at a given movement granularity. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_NEXT_HTML_ELEMENT() = 1024` Action to move to the next HTML element of a given type. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_PASTE() = 32768` Action to paste the current clipboard content. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY() = 512` Action that requests to go to the previous entity in this node's text at a given movement granularity. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_PREVIOUS_HTML_ELEMENT() = 2048` Action to move to the previous HTML element of a given type. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_SCROLL_BACKWARD() = 8192` Action to scroll the node content backward. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_SCROLL_FORWARD() = 4096` Action to scroll the node content forward. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_SELECT() = 4` Action that selects the node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_SET_SELECTION() = 131072` Action to set the selection. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_SET_TEXT() = 2097152` Action that sets the text of the node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#CHECKED_STATE_FALSE() = 0` Checked state for a node that is not checked. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#CHECKED_STATE_PARTIAL() = 2` Checked state for a node that is partially checked. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#CHECKED_STATE_TRUE() = 1` Checked state for a node that is checked. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXPANDED_STATE_COLLAPSED() = 1` Expanded state for a collapsed expandable element. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXPANDED_STATE_FULL() = 3` Expanded state for an expanded expandable element that cannot be expanded further. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXPANDED_STATE_PARTIAL() = 2` Expanded state for an expanded expandable element that can still be expanded further. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXPANDED_STATE_UNDEFINED() = 0` Expanded state for a non-expandable element |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH() = "android.view.accessibility.extra.DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH"` Integer argument specifying the end index of the requested text location data. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_MAX_LENGTH() = 20000` The maximum allowed length of the requested text location data. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX() = "android.view.accessibility.extra.DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX"` Integer argument specifying the start index of the requested text location data. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXTRA_DATA_TEXT_CHARACTER_LOCATION_IN_WINDOW_KEY() = "android.view.accessibility.extra.DATA_TEXT_CHARACTER_LOCATION_IN_WINDOW_KEY"` Key used to request and locate extra data for text character location in window coordinates. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY() = "android.view.accessibility.extra.DATA_TEXT_CHARACTER_LOCATION_KEY"` Key used to request and locate extra data for text character location. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_ANCESTORS() = 1` Prefetching strategy that prefetches the ancestors of the requested node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST() = 16` Prefetching strategy that prefetches the descendants of the requested node breadth-first. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST() = 8` Prefetching strategy that prefetches the descendants of the requested node depth-first. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_DESCENDANTS_HYBRID() = 4` Prefetching strategy that prefetches the descendants in a hybrid depth first and breadth first approach. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_SIBLINGS() = 2` Prefetching strategy that prefetches the siblings of the requested node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_UNINTERRUPTIBLE() = 32` Prefetching flag that specifies prefetching should not be interrupted by a request to retrieve a node or perform an action on a node. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FOCUS_ACCESSIBILITY() = 2` The accessibility focus. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FOCUS_INPUT() = 1` The input focus. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MAX_NUMBER_OF_PREFETCHED_NODES() = 50` Maximum batch size of prefetched nodes for a request. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_CHARACTER() = 1` Movement granularity bit for traversing the text of a node by character. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_LINE() = 4` Movement granularity bit for traversing the text of a node by line. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_PAGE() = 16` Movement granularity bit for traversing the text of a node by page. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_PARAGRAPH() = 8` Movement granularity bit for traversing the text of a node by paragraph. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_WORD() = 2` Movement granularity bit for traversing the text of a node by word. |

| ### Public constructors |
|---|
| `[AccessibilityNodeInfoCompat](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#AccessibilityNodeInfoCompat(java.lang.Object))(info: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` **This function is deprecated.** Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#wrap(android.view.accessibility.AccessibilityNodeInfo)` instead. <br /> |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#addAction(androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat)( action: https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat! )` Adds an action that can be performed on the node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#addAction(int)(action: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Adds an action that can be performed on the node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#addChild(android.view.View)(child: https://developer.android.com/reference/android/view/View.html!)` Adds a child. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#addChild(android.view.View,int)(root: https://developer.android.com/reference/android/view/View.html!, virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Adds a virtual child which is a descendant of the given `root`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#addLabeledBy(android.view.View)(label: https://developer.android.com/reference/android/view/View.html)` Adds the view which serves as the label of the view represented by this info for accessibility purposes. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#addLabeledBy(android.view.View,int)(root: https://developer.android.com/reference/android/view/View.html, virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Adds the view which serves as the label of the view represented by this info for accessibility purposes. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#canOpenPopup()()` Gets if this node opens a popup or a dialog. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#equals(java.lang.Object)(obj: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!>!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#findAccessibilityNodeInfosByText(java.lang.String)(text: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)` Finds `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html`s by text. |
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!>!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#findAccessibilityNodeInfosByViewId(java.lang.String)(viewId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)` Finds `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat`s by the fully qualified view id's resource name where a fully qualified id is of the from "package:id/id_resource_name". |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#findFocus(int)(focus: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Find the view that has the specified focus type. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#focusSearch(int)(direction: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Searches for the nearest view in the specified direction that can take input focus. |
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!>!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getActionList()()` Gets the actions that can be performed on the node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `[getActions](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getActions())()` **This function is deprecated.** Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getActionList()` instead. <br /> |
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getAvailableExtraData()()` Get the extra data available for this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[getBoundsInParent](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getBoundsInParent(android.graphics.Rect))(outBounds: https://developer.android.com/reference/android/graphics/Rect.html!)` **This function is deprecated.** Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getBoundsInScreen(android.graphics.Rect)` instead. <br /> |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getBoundsInScreen(android.graphics.Rect)(outBounds: https://developer.android.com/reference/android/graphics/Rect.html!)` Gets the node bounds in screen coordinates. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getBoundsInWindow(android.graphics.Rect)(outBounds: https://developer.android.com/reference/android/graphics/Rect.html)` Gets the node bounds in window coordinates. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getChecked()()` Gets the checked state of this node. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getChild(int)(index: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Get the child at given index. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getChild(int,int)(index: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, prefetchingStrategy: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Get the child at given index. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getChildCount()()` Gets the number of children. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getClassName()()` Gets the class this node comes from. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.CollectionInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getCollectionInfo()()` Gets the collection info if the node is a collection. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.CollectionItemInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getCollectionItemInfo()()` Gets the collection item info if the node is a collection item. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getContainerTitle()()` Returns the container title. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getContentDescription()()` Gets the content description of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getDrawingOrder()()` Get the drawing order of the view corresponding it this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getError()()` Gets the error text of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getExpandedState()()` Gets the expanded state for this node. |
| `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo.html?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getExtraRenderingInfo()()` Gets the `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo.html` if the node is meant to be refreshed with extra data to examine rendering related accessibility issues. |
| `https://developer.android.com/reference/android/os/Bundle.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getExtras()()` Gets an optional bundle with extra data. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getHintText()()` Gets the hint text of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `[getInfo](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getInfo())()` **This function is deprecated.** Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#unwrap()` instead. <br /> |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getInputType()()` Gets the input type of the source as defined by `https://developer.android.com/reference/android/text/InputType.html`. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getLabelFor()()` Gets the node info for which the view represented by this info serves as a label for accessibility purposes. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | `[getLabeledBy](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getLabeledBy())()` **This function is deprecated.** Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getLabeledByList()` instead. <br /> |
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!>` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getLabeledByList()()` Gets the list of node infos which serve as the labels of the view represented by this info for accessibility purposes. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getLiveRegion()()` Gets the node's live region mode. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getMaxTextLength()()` Returns the maximum text length for this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getMinDurationBetweenContentChangesMillis()()` Gets the minimum time duration between two content change events. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getMovementGranularities()()` Gets the movement granularities for traversing the text of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getPackageName()()` Gets the package this node comes from. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getPaneTitle()()` Get the title of the pane represented by this node. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getParent()()` Gets the parent. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getParent(int)(prefetchingStrategy: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Gets the parent. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.RangeInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getRangeInfo()()` Gets the range info if this node is a range. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getRoleDescription()()` Gets the custom role description. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.SelectionCompat?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getSelection()()` Gets the selection of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getStateDescription()()` Gets the state description of this node. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.StructuredDataInfoCompat?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getStructuredDataInfo()()` Gets additional structured data properties of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getSupplementalDescription()()` Returns the supplemental description of this `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getText()()` Gets the text of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getTextSelectionEnd()()` Gets the text selection end. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getTextSelectionStart()()` Gets the text selection start. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getTooltipText()()` Gets the tooltip text of this node. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.TouchDelegateInfoCompat?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getTouchDelegateInfo()()` Get the `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.TouchDelegateInfoCompat` for touch delegate behavior with the represented view. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getTraversalAfter()()` Gets the node after which this one is visited in accessibility traversal. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getTraversalBefore()()` Gets the node before which this one is visited during traversal. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getUniqueId()()` Gets the unique id of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getViewIdResourceName()()` Gets the fully qualified resource name of the source view's id. |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityWindowInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getWindow()()` Gets the window to which this node belongs. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getWindowId()()` Gets the id of the window from which the info comes from. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#hasRequestInitialAccessibilityFocus()()` Gets whether the node has `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setRequestInitialAccessibilityFocus(boolean)`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#hashCode()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isAccessibilityDataSensitive()()` Gets if the node's accessibility data is considered sensitive. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isAccessibilityFocused()()` Gets whether this node is accessibility focused. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isCheckable()()` Gets whether this node is checkable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `[isChecked](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isChecked())()` **This function is deprecated.** Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getChecked()` instead. <br /> |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isClickable()()` Gets whether this node is clickable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isContentInvalid()()` Gets if the content of this node is invalid. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isContextClickable()()` Gets whether this node is context clickable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isDismissable()()` Gets if the node can be dismissed. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isEditable()()` Gets if the node is editable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isEnabled()()` Gets whether this node is enabled. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isFieldRequired()()` Gets whether a node representing a form field requires input or selection. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isFocusable()()` Gets whether this node is focusable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isFocused()()` Gets whether this node is focused. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isGranularScrollingSupported()()` Gets if the node supports granular scrolling. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isHeading()()` Returns whether node represents a heading. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isImportantForAccessibility()()` Returns whether the node originates from a view considered important for accessibility. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isLongClickable()()` Gets whether this node is long clickable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isMultiLine()()` Gets if the node is a multi line editable text. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isPassword()()` Gets whether this node is a password. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isScreenReaderFocusable()()` Returns whether the node is explicitly marked as a focusable unit by a screen reader. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isScrollable()()` Gets if the node is scrollable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isSelected()()` Gets whether this node is selected. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isShowingHintText()()` Returns whether the node's text represents a hint for the user to enter text. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isTextEntryKey()()` Returns whether node represents a text entry key that is part of a keyboard or keypad. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isTextSelectable()()` Gets if the node has selectable text. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isVisibleToUser()()` Gets whether this node is visible to the user. |
| `java-static https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#obtain()()` Returns a cached instance if such is available otherwise a new one. |
| `java-static https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#obtain(androidx.core.view.accessibility.AccessibilityNodeInfoCompat)(info: https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!)` Returns a cached instance if such is available or a new one is create. |
| `java-static https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#obtain(android.view.View)(source: https://developer.android.com/reference/android/view/View.html!)` Returns a cached instance if such is available otherwise a new one and sets the source. |
| `java-static https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#obtain(android.view.View,int)(root: https://developer.android.com/reference/android/view/View.html!, virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Returns a cached instance if such is available otherwise a new one and sets the source. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#performAction(int)(action: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Performs an action on the node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#performAction(int,android.os.Bundle)(action: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, arguments: https://developer.android.com/reference/android/os/Bundle.html!)` Performs an action on the node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[recycle](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#recycle())()` **This function is deprecated.** Accessibility Object recycling is no longer necessary or functional. <br /> |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#refresh()()` Refreshes this info with the latest state of the view it represents. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#removeAction(androidx.core.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat)( action: https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat! )` Removes an action that can be performed on the node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#removeChild(android.view.View)(child: https://developer.android.com/reference/android/view/View.html!)` Removes a child. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#removeChild(android.view.View,int)(root: https://developer.android.com/reference/android/view/View.html!, virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Removes a virtual child which is a descendant of the given `root`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#removeLabeledBy(android.view.View)(label: https://developer.android.com/reference/android/view/View.html)` Removes a label. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#removeLabeledBy(android.view.View,int)(root: https://developer.android.com/reference/android/view/View.html, virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Removes a label which is a virtual descendant of the given `root`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setAccessibilityDataSensitive(boolean)(accessibilityDataSensitive: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this node's accessibility data is considered sensitive. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setAccessibilityFocused(boolean)(focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this node is accessibility focused. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setAvailableExtraData(java.util.List<java.lang.String>)(extraDataKeys: (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>)` Set the extra data available for this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[setBoundsInParent](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setBoundsInParent(android.graphics.Rect))(bounds: https://developer.android.com/reference/android/graphics/Rect.html!)` **This function is deprecated.** Accessibility services should not care about these bounds. <br /> |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setBoundsInScreen(android.graphics.Rect)(bounds: https://developer.android.com/reference/android/graphics/Rect.html!)` Sets the node bounds in screen coordinates. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setBoundsInWindow(android.graphics.Rect)(bounds: https://developer.android.com/reference/android/graphics/Rect.html)` Sets the node bounds in window coordinates. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setCanOpenPopup(boolean)(opensPopup: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets if this node opens a popup or a dialog. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setCheckable(boolean)(checkable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this node is checkable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[setChecked](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setChecked(boolean))(checked: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` **This function is deprecated.** Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setChecked(int)` instead. <br /> |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setChecked(int)(checked: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the checked state of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setClassName(java.lang.CharSequence)(className: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!)` Sets the class this node comes from. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setClickable(boolean)(clickable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this node is clickable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setCollectionInfo(java.lang.Object)(collectionInfo: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setCollectionItemInfo(java.lang.Object)(collectionItemInfo: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setContainerTitle(java.lang.CharSequence)(containerTitle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?)` Sets the container title for app-developer-defined container which can be any type of ViewGroup or layout. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setContentDescription(java.lang.CharSequence)(contentDescription: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!)` Sets the content description of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setContentInvalid(boolean)(contentInvalid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets if the content of this node is invalid. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setContextClickable(boolean)(contextClickable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this node is context clickable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setDismissable(boolean)(dismissable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets if the node can be dismissed. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setDrawingOrder(int)(drawingOrderInParent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Set the drawing order of the view corresponding it this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setEditable(boolean)(editable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this node is editable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setEnabled(boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this node is enabled. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setError(java.lang.CharSequence)(error: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!)` Sets the error text of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setExpandedState(int)(state: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the expanded state of the node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setFieldRequired(boolean)(required: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether `this` node represents a form field that requires input or selection. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setFocusable(boolean)(focusable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this node is focusable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setFocused(boolean)(focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this node is focused. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setGranularScrollingSupported(boolean)(granularScrollingSupported: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets if the node supports granular scrolling. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setHeading(boolean)(isHeading: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether the node represents a heading. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setHintText(java.lang.CharSequence)(hintText: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?)` Sets the hint text of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setImportantForAccessibility(boolean)(important: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether the node is considered important for accessibility. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setInputType(int)(inputType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the input type of the source as defined by `https://developer.android.com/reference/android/text/InputType.html`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setLabelFor(android.view.View)(labeled: https://developer.android.com/reference/android/view/View.html!)` Sets the view for which the view represented by this info serves as a label for accessibility purposes. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setLabelFor(android.view.View,int)(root: https://developer.android.com/reference/android/view/View.html!, virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the view for which the view represented by this info serves as a label for accessibility purposes. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[setLabeledBy](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setLabeledBy(android.view.View))(label: https://developer.android.com/reference/android/view/View.html!)` **This function is deprecated.** Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#addLabeledBy(android.view.View)` or `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#removeLabeledBy(android.view.View)` instead. <br /> |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[setLabeledBy](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setLabeledBy(android.view.View,int))(root: https://developer.android.com/reference/android/view/View.html!, virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` **This function is deprecated.** Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#addLabeledBy(android.view.View,int)` or `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#removeLabeledBy(android.view.View,int)` instead. <br /> |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setLiveRegion(int)(mode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the node's live region mode. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setLongClickable(boolean)(longClickable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this node is long clickable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setMaxTextLength(int)(max: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the maximum text length, or -1 for no limit. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setMinDurationBetweenContentChangesMillis(long)(duration: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)` Sets the minimum time duration between two content change events, which is used in throttling content change events in accessibility services. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setMovementGranularities(int)(granularities: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the movement granularities for traversing the text of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setMultiLine(boolean)(multiLine: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets if the node is a multi line editable text. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setPackageName(java.lang.CharSequence)(packageName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!)` Sets the package this node comes from. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setPaneTitle(java.lang.CharSequence)(paneTitle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?)` If this node represents a visually distinct region of the screen that may update separately from the rest of the window, it is considered a pane. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setParent(android.view.View)(parent: https://developer.android.com/reference/android/view/View.html!)` Sets the parent. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setParent(android.view.View,int)(root: https://developer.android.com/reference/android/view/View.html!, virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the parent to be a virtual descendant of the given `root`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setPassword(boolean)(password: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this node is a password. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setQueryFromAppProcessEnabled(android.view.View,boolean)(view: https://developer.android.com/reference/android/view/View.html, enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Connects this node to the View's root so that operations on this node can query the entire `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat` tree and perform accessibility actions on nodes. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setRangeInfo(androidx.core.view.accessibility.AccessibilityNodeInfoCompat.RangeInfoCompat)(rangeInfo: https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.RangeInfoCompat!)` Sets the range info if this node is a range. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setRequestInitialAccessibilityFocus(boolean)( requestInitialAccessibilityFocus: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html )` Sets whether the node has requested initial accessibility focus. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setRoleDescription(java.lang.CharSequence)(roleDescription: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?)` Sets the custom role description. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setScreenReaderFocusable(boolean)(screenReaderFocusable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether the node should be considered a focusable unit by a screen reader. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setScrollable(boolean)(scrollable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets if the node is scrollable. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setSelected(boolean)(selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this node is selected. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setSelection(androidx.core.view.accessibility.AccessibilityNodeInfoCompat.SelectionCompat)(selection: https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.SelectionCompat?)` Sets the selection of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setShowingHintText(boolean)(showingHintText: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether the node's text represents a hint for the user to enter text. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setSource(android.view.View)(source: https://developer.android.com/reference/android/view/View.html!)` Sets the source. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setSource(android.view.View,int)(root: https://developer.android.com/reference/android/view/View.html!, virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the source to be a virtual descendant of the given `root`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setStateDescription(java.lang.CharSequence)(stateDescription: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?)` Sets the state description of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setStructuredDataInfo(androidx.core.view.accessibility.AccessibilityNodeInfoCompat.StructuredDataInfoCompat)( structuredDataInfoCompat: https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.StructuredDataInfoCompat? )` Sets additional structured data properties of this node, such as for a mathematical expression. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setSupplementalDescription(java.lang.CharSequence)(supplementalDescription: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?)` Sets the supplemental description of this `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setText(java.lang.CharSequence)(text: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!)` Sets the text of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setTextEntryKey(boolean)(isTextEntryKey: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether the node represents a text entry key that is part of a keyboard or keypad. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setTextSelectable(boolean)(selectableText: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets if the node has selectable text. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setTextSelection(int,int)(start: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, end: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the text selection start and end. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setTooltipText(java.lang.CharSequence)(tooltipText: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?)` Sets the tooltip text of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setTouchDelegateInfo(androidx.core.view.accessibility.AccessibilityNodeInfoCompat.TouchDelegateInfoCompat)( delegatedInfo: https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.TouchDelegateInfoCompat )` Set touch delegate info if the represented view has a `https://developer.android.com/reference/android/view/TouchDelegate.html`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setTraversalAfter(android.view.View)(view: https://developer.android.com/reference/android/view/View.html!)` Sets the view whose node is visited after this one in accessibility traversal. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setTraversalAfter(android.view.View,int)(root: https://developer.android.com/reference/android/view/View.html!, virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the node after which this one is visited in accessibility traversal. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setTraversalBefore(android.view.View)(view: https://developer.android.com/reference/android/view/View.html!)` Sets the view before whose node this one should be visited during traversal. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setTraversalBefore(android.view.View,int)(root: https://developer.android.com/reference/android/view/View.html!, virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Sets the node before which this one is visited during traversal. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setUniqueId(java.lang.String)(uniqueId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?)` Sets the unique id of this node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setViewIdResourceName(java.lang.String)(viewId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)` Sets the fully qualified resource name of the source view's id. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setVisibleToUser(boolean)(visibleToUser: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Sets whether this node is visible to the user. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#toString()()` |
| `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#unwrap()()` |
| `java-static https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#wrap(android.view.accessibility.AccessibilityNodeInfo)(info: https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html)` Creates a new instance wrapping an `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html`. |

## Constants

### ACTION_ACCESSIBILITY_FOCUS

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_ACCESSIBILITY_FOCUS = 64: Int
```

Action that gives accessibility focus to the node.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_ACCESSIBILITY_FOCUS()` |   |

### ACTION_ARGUMENT_COLUMN_INT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_ARGUMENT_COLUMN_INT = "android.view.accessibility.action.ARGUMENT_COLUMN_INT": String!
```

Argument for specifying the collection column to make visible on screen.

**Type:** int**Actions:**

- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_TO_POSITION()`

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_TO_POSITION()` |   |

### ACTION_ARGUMENT_DIRECTION_INT

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
const val ACTION_ARGUMENT_DIRECTION_INT = "androidx.core.view.accessibility.action.ARGUMENT_DIRECTION_INT": String!
```

Argument to represent the direction when using `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_IN_DIRECTION()`.

The value of this argument can be one of:

- `https://developer.android.com/reference/android/view/View.html#FOCUS_DOWN`
- `https://developer.android.com/reference/android/view/View.html#FOCUS_UP`
- `https://developer.android.com/reference/android/view/View.html#FOCUS_LEFT`
- `https://developer.android.com/reference/android/view/View.html#FOCUS_RIGHT`
- `https://developer.android.com/reference/android/view/View.html#FOCUS_FORWARD`
- `https://developer.android.com/reference/android/view/View.html#FOCUS_BACKWARD`

### ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN = "ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN": String!
```

Argument for whether when moving at granularity to extend the selection or to move it otherwise.

**Type:** boolean**Actions:** `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_NEXT_AT_MOVEMENT_GRANULARITY()`, `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY()`

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_NEXT_AT_MOVEMENT_GRANULARITY()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY()` |   |

### ACTION_ARGUMENT_HTML_ELEMENT_STRING

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_ARGUMENT_HTML_ELEMENT_STRING = "ACTION_ARGUMENT_HTML_ELEMENT_STRING": String!
```

Argument for which HTML element to get moving to the next/previous HTML element.

**Type:** String**Actions:** `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_NEXT_HTML_ELEMENT()`, `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PREVIOUS_HTML_ELEMENT()`

### ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT = "ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT": String!
```

Argument for which movement granularity to be used when traversing the node text.

**Type:** int**Actions:** `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_NEXT_AT_MOVEMENT_GRANULARITY()`, `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY()`

### ACTION_ARGUMENT_MOVE_WINDOW_X

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_ARGUMENT_MOVE_WINDOW_X = "ACTION_ARGUMENT_MOVE_WINDOW_X": String!
```

Argument for specifying the x coordinate to which to move a window.

**Type:** int**Actions:**

- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_MOVE_WINDOW()`

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_MOVE_WINDOW()` |   |

### ACTION_ARGUMENT_MOVE_WINDOW_Y

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_ARGUMENT_MOVE_WINDOW_Y = "ACTION_ARGUMENT_MOVE_WINDOW_Y": String!
```

Argument for specifying the y coordinate to which to move a window.

**Type:** int**Actions:**

- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_MOVE_WINDOW()`

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_MOVE_WINDOW()` |   |

### ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT = "android.view.accessibility.action.ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT": String!
```

Argument to represent the duration in milliseconds to press and hold a node.

**Type:** int**Actions:**

- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PRESS_AND_HOLD()`

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PRESS_AND_HOLD()` |   |

### ACTION_ARGUMENT_PROGRESS_VALUE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_ARGUMENT_PROGRESS_VALUE = "android.view.accessibility.action.ARGUMENT_PROGRESS_VALUE": String!
```

Argument for specifying the progress value to set.

**Type:** float**Actions:**

- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_PROGRESS()`

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_PROGRESS()` |   |

### ACTION_ARGUMENT_ROW_INT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_ARGUMENT_ROW_INT = "android.view.accessibility.action.ARGUMENT_ROW_INT": String!
```

Argument for specifying the collection row to make visible on screen.

**Type:** int**Actions:**

- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_TO_POSITION()`

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_TO_POSITION()` |   |

### ACTION_ARGUMENT_SCROLL_AMOUNT_FLOAT

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
const val ACTION_ARGUMENT_SCROLL_AMOUNT_FLOAT = "androidx.core.view.accessibility.action.ARGUMENT_SCROLL_AMOUNT_FLOAT": String!
```

Argument to represent the scroll amount as a percent of the visible area of a node, with 1.0F as the default. Values smaller than 1.0F represent a partial scroll of the node, and values larger than 1.0F represent a scroll that extends beyond the currently visible node Rect. Setting this to `https://developer.android.com/reference/java/lang/Float.html#POSITIVE_INFINITY` or to another "too large" value should scroll to the end of the node. Negative values should not be used with this argument.

This argument should be used with the following scroll actions:

- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_FORWARD()`
- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_BACKWARD()`
- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_UP()`
- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_DOWN()`
- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_LEFT()`
- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_RIGHT()`

Example: if a view representing a list of items implements `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_FORWARD()` to scroll forward by an entire screen (one "page"), then passing a value of .25F via this argument should scroll that view only by 1/4th of a screen. Passing a value of 1.50F via this argument should scroll the view by 1 1/2 screens or to end of the node if the node doesn't extend to 1 1/2 screens.

This argument should not be used with the following scroll actions, which don't cleanly conform to granular scroll semantics:

- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_IN_DIRECTION()`
- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_TO_POSITION()`

Views that support this argument should set `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setGranularScrollingSupported(boolean)` to true. Clients should use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isGranularScrollingSupported()` to check if granular scrolling is supported.

### ACTION_ARGUMENT_SELECTION_END_INT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_ARGUMENT_SELECTION_END_INT = "ACTION_ARGUMENT_SELECTION_END_INT": String!
```

Argument for specifying the selection end.

**Type:** int**Actions:** `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_SET_SELECTION()`

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_SELECTION()` |   |

### ACTION_ARGUMENT_SELECTION_PARCELABLE

Added in [1.18.0](https://developer.android.com/jetpack/androidx/releases/core#1.18.0)

```
const val ACTION_ARGUMENT_SELECTION_PARCELABLE = "android.view.accessibility.action.ARGUMENT_SELECTION_PARCELABLE": String!
```

Argument for specifying the extended selection.

**Type:** `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.SelectionCompat`**Actions:**

- `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_EXTENDED_SELECTION()`

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_EXTENDED_SELECTION()` |   |

### ACTION_ARGUMENT_SELECTION_START_INT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_ARGUMENT_SELECTION_START_INT = "ACTION_ARGUMENT_SELECTION_START_INT": String!
```

Argument for specifying the selection start.

**Type:** int**Actions:** `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_SET_SELECTION()`

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_SELECTION()` |   |

### ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE = "ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE": String!
```

Argument for specifying the text content to set

**Type:** CharSequence**Actions:** `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_SET_TEXT()`

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_TEXT()` |   |

### ACTION_CLEAR_ACCESSIBILITY_FOCUS

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_CLEAR_ACCESSIBILITY_FOCUS = 128: Int
```

Action that clears accessibility focus of the node.

### ACTION_CLEAR_FOCUS

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_CLEAR_FOCUS = 2: Int
```

Action that unfocuses the node.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_CLEAR_FOCUS()` |   |

### ACTION_CLEAR_SELECTION

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_CLEAR_SELECTION = 8: Int
```

Action that unselects the node.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_CLEAR_SELECTION()` |   |

### ACTION_CLICK

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_CLICK = 16: Int
```

Action that clicks on the node info.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_CLICK()` |   |

### ACTION_COLLAPSE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_COLLAPSE = 524288: Int
```

Action to collapse an expandable node.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_COLLAPSE()` |   |

### ACTION_COPY

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_COPY = 16384: Int
```

Action to copy the current selection to the clipboard.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_COPY()` |   |

### ACTION_CUT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_CUT = 65536: Int
```

Action to cut the current selection and place it to the clipboard.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_CUT()` |   |

### ACTION_DISMISS

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_DISMISS = 1048576: Int
```

Action to dismiss a dismissible node.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_DISMISS()` |   |

### ACTION_EXPAND

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_EXPAND = 262144: Int
```

Action to expand an expandable node.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_EXPAND()` |   |

### ACTION_FOCUS

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_FOCUS = 1: Int
```

Action that focuses the node.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_FOCUS()` |   |

### ACTION_LONG_CLICK

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_LONG_CLICK = 32: Int
```

Action that long clicks on the node.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_LONG_CLICK()` |   |

### ACTION_NEXT_AT_MOVEMENT_GRANULARITY

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_NEXT_AT_MOVEMENT_GRANULARITY = 256: Int
```

Action that requests to go to the next entity in this node's text at a given movement granularity. For example, move to the next character, word, etc.

**Arguments:** `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT()`\<, `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN()`**Example:** Move to the previous character and do not extend selection.

```kotlin
          
              Bundle arguments = new Bundle();
  arguments.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT,
          AccessibilityNodeInfo.MOVEMENT_GRANULARITY_CHARACTER);
  arguments.putBoolean(AccessibilityNodeInfo.ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN,
          false);
  info.performAction(AccessibilityNodeInfo.ACTION_NEXT_AT_MOVEMENT_GRANULARITY, arguments);
          
        
```

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setMovementGranularities(int)` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getMovementGranularities()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_CHARACTER()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_WORD()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_LINE()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_PARAGRAPH()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_PAGE()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_NEXT_AT_MOVEMENT_GRANULARITY()` |   |

### ACTION_NEXT_HTML_ELEMENT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_NEXT_HTML_ELEMENT = 1024: Int
```

Action to move to the next HTML element of a given type. For example, move to the BUTTON, INPUT, TABLE, etc.

**Arguments:** `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_HTML_ELEMENT_STRING()`**Example:**

```kotlin
          
              Bundle arguments = new Bundle();
  arguments.putString(AccessibilityNodeInfo.ACTION_ARGUMENT_HTML_ELEMENT_STRING, "BUTTON");
  info.performAction(AccessibilityNodeInfo.ACTION_NEXT_HTML_ELEMENT, arguments);
          
        
```

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_NEXT_HTML_ELEMENT()` |   |

### ACTION_PASTE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_PASTE = 32768: Int
```

Action to paste the current clipboard content.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PASTE()` |   |

### ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY = 512: Int
```

Action that requests to go to the previous entity in this node's text at a given movement granularity. For example, move to the next character, word, etc.

**Arguments:** `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT()`\<, `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN()`**Example:** Move to the next character and do not extend selection.

```kotlin
          
              Bundle arguments = new Bundle();
  arguments.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT,
          AccessibilityNodeInfo.MOVEMENT_GRANULARITY_CHARACTER);
  arguments.putBoolean(AccessibilityNodeInfo.ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN,
          false);
  info.performAction(AccessibilityNodeInfo.ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY,
          arguments);
          
        
```

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setMovementGranularities(int)` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getMovementGranularities()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_CHARACTER()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_WORD()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_LINE()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_PARAGRAPH()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MOVEMENT_GRANULARITY_PAGE()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY()` |   |

### ACTION_PREVIOUS_HTML_ELEMENT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_PREVIOUS_HTML_ELEMENT = 2048: Int
```

Action to move to the previous HTML element of a given type. For example, move to the BUTTON, INPUT, TABLE, etc.

**Arguments:** `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_HTML_ELEMENT_STRING()`**Example:**

```kotlin
          
              Bundle arguments = new Bundle();
  arguments.putString(AccessibilityNodeInfo.ACTION_ARGUMENT_HTML_ELEMENT_STRING, "BUTTON");
  info.performAction(AccessibilityNodeInfo.ACTION_PREVIOUS_HTML_ELEMENT, arguments);
          
        
```

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PREVIOUS_HTML_ELEMENT()` |   |

### ACTION_SCROLL_BACKWARD

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_SCROLL_BACKWARD = 8192: Int
```

Action to scroll the node content backward.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_BACKWARD()` |   |

### ACTION_SCROLL_FORWARD

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_SCROLL_FORWARD = 4096: Int
```

Action to scroll the node content forward.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_FORWARD()` |   |

### ACTION_SELECT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_SELECT = 4: Int
```

Action that selects the node.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SELECT()` |   |

### ACTION_SET_SELECTION

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_SET_SELECTION = 131072: Int
```

Action to set the selection. Performing this action with no arguments clears the selection.

**Arguments:** `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_SELECTION_START_INT()`, `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_SELECTION_END_INT()`**Example:**

```kotlin
          
              Bundle arguments = new Bundle();
  arguments.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_SELECTION_START_INT, 1);
  arguments.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_SELECTION_END_INT, 2);
  info.performAction(AccessibilityNodeInfo.ACTION_SET_SELECTION, arguments);
          
        
```

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_SELECTION_START_INT()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_SELECTION_END_INT()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_SELECTION()` |   |

### ACTION_SET_TEXT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val ACTION_SET_TEXT = 2097152: Int
```

Action that sets the text of the node. Performing the action without argument, using `
null` or empty `https://developer.android.com/reference/java/lang/CharSequence.html` will clear the text. This action will also put the cursor at the end of text.

**Arguments:** `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE()`**Example:**

```kotlin
          
              Bundle arguments = new Bundle();
  arguments.putCharSequence(AccessibilityNodeInfo.ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE,
      "android");
  info.performAction(AccessibilityNodeInfo.ACTION_SET_TEXT, arguments);
          
        
```

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_TEXT()` |   |

### CHECKED_STATE_FALSE

Added in [1.18.0](https://developer.android.com/jetpack/androidx/releases/core#1.18.0)

```
const val CHECKED_STATE_FALSE = 0: Int
```

Checked state for a node that is not checked.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getChecked()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setChecked(int)` |   |

### CHECKED_STATE_PARTIAL

Added in [1.18.0](https://developer.android.com/jetpack/androidx/releases/core#1.18.0)

```
const val CHECKED_STATE_PARTIAL = 2: Int
```

Checked state for a node that is partially checked. For example, when a checkbox owns a number of sub-options and they have different states, then the main checkbox is in a partially-checked state.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getChecked()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setChecked(int)` |   |

### CHECKED_STATE_TRUE

Added in [1.18.0](https://developer.android.com/jetpack/androidx/releases/core#1.18.0)

```
const val CHECKED_STATE_TRUE = 1: Int
```

Checked state for a node that is checked.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getChecked()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setChecked(int)` |   |

### EXPANDED_STATE_COLLAPSED

Added in [1.18.0](https://developer.android.com/jetpack/androidx/releases/core#1.18.0)

```
const val EXPANDED_STATE_COLLAPSED = 1: Int
```

Expanded state for a collapsed expandable element.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getExpandedState()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setExpandedState(int)` |   |

### EXPANDED_STATE_FULL

Added in [1.18.0](https://developer.android.com/jetpack/androidx/releases/core#1.18.0)

```
const val EXPANDED_STATE_FULL = 3: Int
```

Expanded state for an expanded expandable element that cannot be expanded further.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getExpandedState()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setExpandedState(int)` |   |

### EXPANDED_STATE_PARTIAL

Added in [1.18.0](https://developer.android.com/jetpack/androidx/releases/core#1.18.0)

```
const val EXPANDED_STATE_PARTIAL = 2: Int
```

Expanded state for an expanded expandable element that can still be expanded further.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getExpandedState()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setExpandedState(int)` |   |

### EXPANDED_STATE_UNDEFINED

Added in [1.18.0](https://developer.android.com/jetpack/androidx/releases/core#1.18.0)

```
const val EXPANDED_STATE_UNDEFINED = 0: Int
```

Expanded state for a non-expandable element

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getExpandedState()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setExpandedState(int)` |   |

### EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/core#1.9.0)

```
const val EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH = "android.view.accessibility.extra.DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH": String!
```

Integer argument specifying the end index of the requested text location data. Must be positive and no larger than `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH()`.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY()` |   |

### EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_MAX_LENGTH

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/core#1.9.0)

```
const val EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_MAX_LENGTH = 20000: Int
```

The maximum allowed length of the requested text location data.

### EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/core#1.9.0)

```
const val EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX = "android.view.accessibility.extra.DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX": String!
```

Integer argument specifying the start index of the requested text location data. Must be valid inside the CharSequence returned by `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getText()`.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY()` |   |

### EXTRA_DATA_TEXT_CHARACTER_LOCATION_IN_WINDOW_KEY

Added in [1.16.0](https://developer.android.com/jetpack/androidx/releases/core#1.16.0)

```
const val EXTRA_DATA_TEXT_CHARACTER_LOCATION_IN_WINDOW_KEY = "android.view.accessibility.extra.DATA_TEXT_CHARACTER_LOCATION_IN_WINDOW_KEY": String!
```

Key used to request and locate extra data for text character location in window coordinates. This key requests that an array of `https://developer.android.com/reference/android/graphics/RectF.html`s be added to the extras. This request is made with `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html#refreshWithExtraData(java.lang.String, android.os.Bundle)`. The arguments taken by this request are two integers: `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX()` and `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH()`. The starting index must be valid inside the CharSequence returned by `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getText()`, and the length must be positive.

Providers may advertise that they support text characters in window coordinates using `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setAvailableExtraData(java.util.List<java.lang.String>)`. Services may check if an implementation supports text characters in window coordinates with `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getAvailableExtraData()`.

The data can be retrieved from the `Bundle` returned by `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getExtras()` using this string as a key for `https://developer.android.com/reference/android/os/Bundle.html#getParcelableArray(java.lang.String, java.lang.Class&lt;T&gt;)`. The `https://developer.android.com/reference/android/graphics/RectF.html` will be `null` for characters that either do not exist or are outside of the window bounds.

Note that character locations in window bounds are not modified by changes in display magnification. {@see android.view.accessibility.AccessibilityNodeInfo#refreshWithExtraData(String, Bundle)}

### EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/core#1.9.0)

```
const val EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY = "android.view.accessibility.extra.DATA_TEXT_CHARACTER_LOCATION_KEY": String!
```

Key used to request and locate extra data for text character location. This key requests that an array of `https://developer.android.com/reference/android/graphics/RectF.html`s be added to the extras. This request is made with `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html#refreshWithExtraData(java.lang.String, android.os.Bundle)`. The arguments taken by this request are two integers: `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_START_INDEX()` and `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXTRA_DATA_TEXT_CHARACTER_LOCATION_ARG_LENGTH()`. The starting index must be valid inside the CharSequence returned by `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getText()`, and the length must be positive.

The data can be retrieved from the `Bundle` returned by `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getExtras()` using this string as a key for `https://developer.android.com/reference/android/os/Bundle.html#getParcelableArray(java.lang.String)`. The `https://developer.android.com/reference/android/graphics/RectF.html` will be `null` for characters that either do not exist or are off the screen.

Note that character locations returned are modified by changes in display magnification. {@see android.view.accessibility.AccessibilityNodeInfo#refreshWithExtraData(String, Bundle)}

### FLAG_PREFETCH_ANCESTORS

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
const val FLAG_PREFETCH_ANCESTORS = 1: Int
```

Prefetching strategy that prefetches the ancestors of the requested node.

Ancestors will be prefetched before siblings and descendants.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getChild(int,int)` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getParent(int)` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityWindowInfoCompat#getRoot(int)` |   |
| `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html#getRootInActiveWindow(int)` |   |
| `https://developer.android.com/reference/android/view/accessibility/AccessibilityRecord.html#getSource(int)` |   |

### FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
const val FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST = 16: Int
```

Prefetching strategy that prefetches the descendants of the requested node breadth-first.

This must not be combined with `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_DESCENDANTS_HYBRID()` or `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST()` or this will trigger an IllegalArgumentException.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_ANCESTORS()` | for where to use these flags. |

### FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
const val FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST = 8: Int
```

Prefetching strategy that prefetches the descendants of the requested node depth-first.

This must not be combined with `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_DESCENDANTS_HYBRID()` or `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST()` or this will trigger an IllegalArgumentException.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_ANCESTORS()` | for where to use these flags. |

### FLAG_PREFETCH_DESCENDANTS_HYBRID

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
const val FLAG_PREFETCH_DESCENDANTS_HYBRID = 4: Int
```

Prefetching strategy that prefetches the descendants in a hybrid depth first and breadth first approach.

The children of the root node is prefetched before recursing on the children. This must not be combined with `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST()` or `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST()` or this will trigger an IllegalArgumentException.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_ANCESTORS()` | for where to use these flags. |

### FLAG_PREFETCH_SIBLINGS

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
const val FLAG_PREFETCH_SIBLINGS = 2: Int
```

Prefetching strategy that prefetches the siblings of the requested node.

To avoid disconnected trees, this flag will also prefetch the parent. Siblings will be prefetched before descendants.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_ANCESTORS()` | for where to use these flags. |

### FLAG_PREFETCH_UNINTERRUPTIBLE

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
const val FLAG_PREFETCH_UNINTERRUPTIBLE = 32: Int
```

Prefetching flag that specifies prefetching should not be interrupted by a request to retrieve a node or perform an action on a node.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_ANCESTORS()` | for where to use these flags. |

### FOCUS_ACCESSIBILITY

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val FOCUS_ACCESSIBILITY = 2: Int
```

The accessibility focus.

### FOCUS_INPUT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val FOCUS_INPUT = 1: Int
```

The input focus.

### MAX_NUMBER_OF_PREFETCHED_NODES

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
const val MAX_NUMBER_OF_PREFETCHED_NODES = 50: Int
```

Maximum batch size of prefetched nodes for a request.

### MOVEMENT_GRANULARITY_CHARACTER

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val MOVEMENT_GRANULARITY_CHARACTER = 1: Int
```

Movement granularity bit for traversing the text of a node by character.

### MOVEMENT_GRANULARITY_LINE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val MOVEMENT_GRANULARITY_LINE = 4: Int
```

Movement granularity bit for traversing the text of a node by line.

### MOVEMENT_GRANULARITY_PAGE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val MOVEMENT_GRANULARITY_PAGE = 16: Int
```

Movement granularity bit for traversing the text of a node by page.

### MOVEMENT_GRANULARITY_PARAGRAPH

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val MOVEMENT_GRANULARITY_PARAGRAPH = 8: Int
```

Movement granularity bit for traversing the text of a node by paragraph.

### MOVEMENT_GRANULARITY_WORD

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val MOVEMENT_GRANULARITY_WORD = 2: Int
```

Movement granularity bit for traversing the text of a node by word.

## Public constructors

### AccessibilityNodeInfoCompat

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
[AccessibilityNodeInfoCompat](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#AccessibilityNodeInfoCompat(java.lang.Object))(info: Any!)
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#wrap(android.view.accessibility.AccessibilityNodeInfo)` instead.

Creates a new instance wrapping an `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html`.

| Parameters |
|---|---|
| `info: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | The info. |

## Public functions

### addAction

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun addAction(
    action: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
): Unit
```

Adds an action that can be performed on the node.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `action: https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | The action. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### addAction

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun addAction(action: Int): Unit
```

Adds an action that can be performed on the node.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `action: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The action. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### addChild

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun addChild(child: View!): Unit
```

Adds a child.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `child: https://developer.android.com/reference/android/view/View.html!` | The child. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### addChild

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun addChild(root: View!, virtualDescendantId: Int): Unit
```

Adds a virtual child which is a descendant of the given `root`. If `virtualDescendantId` is `https://developer.android.com/reference/android/view/View.html#NO_ID` the root is added as a child.

A virtual descendant is an imaginary View that is reported as a part of the view hierarchy for accessibility purposes. This enables custom views that draw complex content to report them selves as a tree of virtual views, thus conveying their logical structure.

| Parameters |
|---|---|
| `root: https://developer.android.com/reference/android/view/View.html!` | The root of the virtual subtree. |
| `virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The id of the virtual child. |

### addLabeledBy

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun addLabeledBy(label: View): Unit
```

Adds the view which serves as the label of the view represented by this info for accessibility purposes. When multiple labels are added, the content from each label is combined in the order that they are added.

If visible text can be used to describe or give meaning to this UI, this method is preferred. For example, a TextView before an EditText in the UI usually specifies what information is contained in the EditText. Hence, the EditText is labeled by the TextView.

| Parameters |
|---|---|
| `label: https://developer.android.com/reference/android/view/View.html` | A view that labels this node's source. |

### addLabeledBy

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun addLabeledBy(root: View, virtualDescendantId: Int): Unit
```

Adds the view which serves as the label of the view represented by this info for accessibility purposes. If `virtualDescendantId` is `https://developer.android.com/reference/android/view/View.html#NO_ID` the root is set as the label.

A virtual descendant is an imaginary View that is reported as a part of the view hierarchy for accessibility purposes. This enables custom views that draw complex content to report themselves as a tree of virtual views, thus conveying their logical structure.

If visible text can be used to describe or give meaning to this UI, this method is preferred. For example, a TextView before an EditText in the UI usually specifies what information is contained in the EditText. Hence, the EditText is labeled by the TextView.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

**Note:** Starting with Android 36, when multiple labels are added, the content from each label is combined in the order that they are added. Before Android 36, the most recently added label is set as the only label.

| Parameters |
|---|---|
| `root: https://developer.android.com/reference/android/view/View.html` | A root whose virtual descendant labels this node's source. |
| `virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The id of the virtual descendant. |

### canOpenPopup

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun canOpenPopup(): Boolean
```

Gets if this node opens a popup or a dialog.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | If the the node opens a popup. |

### equals

```
fun equals(obj: Any!): Boolean
```

### findAccessibilityNodeInfosByText

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun findAccessibilityNodeInfosByText(text: String!): (Mutable)List<AccessibilityNodeInfoCompat!>!
```

Finds `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html`s by text. The match is case insensitive containment. The search is relative to this info i.e. this info is the root of the traversed tree.

| Parameters |
|---|---|
| `text: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | The searched text. |

| Returns |
|---|---|
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!>!` | A list of node info. |

### findAccessibilityNodeInfosByViewId

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun findAccessibilityNodeInfosByViewId(viewId: String!): (Mutable)List<AccessibilityNodeInfoCompat!>!
```

Finds `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat`s by the fully qualified view id's resource name where a fully qualified id is of the from "package:id/id_resource_name". For example, if the target application's package is "foo.bar" and the id resource name is "baz", the fully qualified resource id is "foo.bar:id/baz".

**Note:** The primary usage of this API is for UI test automation and in order to report the fully qualified view id if an `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat` the client has to set the `https://developer.android.com/reference/android/accessibilityservice/AccessibilityServiceInfo.html#FLAG_REPORT_VIEW_IDS` flag when configuring their `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`.

| Parameters |
|---|---|
| `viewId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | The fully qualified resource name of the view id to find. |

| Returns |
|---|---|
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!>!` | A list of node info. |

### findFocus

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun findFocus(focus: Int): AccessibilityNodeInfoCompat!
```

Find the view that has the specified focus type. The search starts from the view represented by this node info.

| Parameters |
|---|---|
| `focus: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The focus to find. One of `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FOCUS_INPUT()` or `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FOCUS_ACCESSIBILITY()`. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | The node info of the focused view or null. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FOCUS_INPUT()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FOCUS_ACCESSIBILITY()` |   |

### focusSearch

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun focusSearch(direction: Int): AccessibilityNodeInfoCompat!
```

Searches for the nearest view in the specified direction that can take input focus.

| Parameters |
|---|---|
| `direction: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The direction. Can be one of: `https://developer.android.com/reference/android/view/View.html#FOCUS_DOWN`, `https://developer.android.com/reference/android/view/View.html#FOCUS_UP`, `https://developer.android.com/reference/android/view/View.html#FOCUS_LEFT`, `https://developer.android.com/reference/android/view/View.html#FOCUS_RIGHT`, `https://developer.android.com/reference/android/view/View.html#FOCUS_FORWARD`, `https://developer.android.com/reference/android/view/View.html#FOCUS_BACKWARD`. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | The node info for the view that can take accessibility focus. |

### getActionList

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getActionList(): (Mutable)List<AccessibilityNodeInfoCompat.AccessibilityActionCompat!>!
```

Gets the actions that can be performed on the node.

| Returns |
|---|---|
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!>!` | A list of AccessibilityActions. |

### getActions

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.9.0](https://developer.android.com/jetpack/androidx/releases/core#1.9.0)

```
fun [getActions](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getActions())(): Int
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getActionList()` instead.

Gets the actions that can be performed on the node.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The bit mask of with actions. |

| See also |
|---|---|
| `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html#ACTION_FOCUS` |   |
| `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html#ACTION_CLEAR_FOCUS` |   |
| `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html#ACTION_SELECT` |   |
| `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html#ACTION_CLEAR_SELECTION` |   |

### getAvailableExtraData

Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/core#1.8.0)

```
fun getAvailableExtraData(): (Mutable)List<String!>
```

Get the extra data available for this node.

Some data that is useful for some accessibility services is expensive to compute, and would place undue overhead on apps to compute all the time. That data can be requested with `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html#refreshWithExtraData(java.lang.String, android.os.Bundle)`.

| Returns |
|---|---|
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>` | An unmodifiable list of keys corresponding to extra data that can be requested. |

| See also |
|---|---|
| `EXTRA_DATA_RENDERING_INFO_KEY` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY()` |   |

### getBoundsInParent

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/core#1.2.0)

```
fun [getBoundsInParent](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getBoundsInParent(android.graphics.Rect))(outBounds: Rect!): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getBoundsInScreen(android.graphics.Rect)` instead.

Gets the node bounds in the viewParent's coordinates. `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getParent()` does not represent the source's viewParent. Instead it represents the result of `https://developer.android.com/reference/android/view/View.html#getParentForAccessibility()`, which returns the closest ancestor where `https://developer.android.com/reference/android/view/View.html#isImportantForAccessibility()` is true. So this method is not reliable.

| Parameters |
|---|---|
| `outBounds: https://developer.android.com/reference/android/graphics/Rect.html!` | The output node bounds. |

### getBoundsInScreen

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getBoundsInScreen(outBounds: Rect!): Unit
```

Gets the node bounds in screen coordinates.

| Parameters |
|---|---|
| `outBounds: https://developer.android.com/reference/android/graphics/Rect.html!` | The output node bounds. |

### getBoundsInWindow

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
fun getBoundsInWindow(outBounds: Rect): Unit
```

Gets the node bounds in window coordinates.

When magnification is enabled, the bounds in window are scaled up by magnification scale and the positions are also adjusted according to the offset of magnification viewport. For example, it returns Rect(-180, -180, 0, 0) for original bounds Rect(10, 10, 100, 100), when the magnification scale is 2 and offsets for X and Y are both 200.

Compatibility:

- API \<19: No-op

| Parameters |
|---|---|
| `outBounds: https://developer.android.com/reference/android/graphics/Rect.html` | The output node bounds. |

### getChecked

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun getChecked(): Int
```

Gets the checked state of this node.

Note that this is only meaningful when `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isCheckable()` returns `true`.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The checked state, one of: - `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#CHECKED_STATE_FALSE()` - `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#CHECKED_STATE_TRUE()` - `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#CHECKED_STATE_PARTIAL()` |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setCheckable(boolean)` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isCheckable()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setChecked(int)` |   |

### getChild

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getChild(index: Int): AccessibilityNodeInfoCompat!
```

Get the child at given index.

| Parameters |
|---|---|
| `index: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The child index. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | The child node. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called outside of an AccessibilityService. |

### getChild

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
fun getChild(index: Int, prefetchingStrategy: Int): AccessibilityNodeInfoCompat?
```

Get the child at given index.

| Parameters |
|---|---|
| `index: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The child index. |
| `prefetchingStrategy: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the prefetching strategy. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat?` | The child node. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called outside of an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html` and before calling `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setQueryFromAppProcessEnabled(android.view.View,boolean)`. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getParent(int)` | for a description of prefetching. |

### getChildCount

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getChildCount(): Int
```

Gets the number of children.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The child count. |

### getClassName

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getClassName(): CharSequence!
```

Gets the class this node comes from.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | The class name. |

### getCollectionInfo

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getCollectionInfo(): AccessibilityNodeInfoCompat.CollectionInfoCompat!
```

Gets the collection info if the node is a collection. A collection child is always a collection item.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.CollectionInfoCompat!` | The collection info. |

### getCollectionItemInfo

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getCollectionItemInfo(): AccessibilityNodeInfoCompat.CollectionItemInfoCompat!
```

Gets the collection item info if the node is a collection item. A collection item is always a child of a collection.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.CollectionItemInfoCompat!` | The collection item info. |

### getContainerTitle

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
fun getContainerTitle(): CharSequence?
```

Returns the container title.

Compatibility:

- API \<19: Returns null

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setContainerTitle(java.lang.CharSequence)` | for details. |

### getContentDescription

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getContentDescription(): CharSequence!
```

Gets the content description of this node.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | The content description. |

### getDrawingOrder

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getDrawingOrder(): Int
```

Get the drawing order of the view corresponding it this node.

Drawing order is determined only within the node's parent, so this index is only relative to its siblings.

In some cases, the drawing order is essentially simultaneous, so it is possible for two siblings to return the same value. It is also possible that values will be skipped.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The drawing position of the view corresponding to this node relative to its siblings. |

### getError

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getError(): CharSequence!
```

Gets the error text of this node.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | The error text. |

### getExpandedState

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun getExpandedState(): Int
```

Gets the expanded state for this node.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The expanded state, one of: - `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXPANDED_STATE_UNDEFINED()` - `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXPANDED_STATE_COLLAPSED()` - `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXPANDED_STATE_FULL()` - `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXPANDED_STATE_PARTIAL()` |

### getExtraRenderingInfo

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/core#1.9.0)

```
fun getExtraRenderingInfo(): AccessibilityNodeInfo.ExtraRenderingInfo?
```

Gets the `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo.html` if the node is meant to be refreshed with extra data to examine rendering related accessibility issues.

| Returns |
|---|---|
| `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo.html?` | The `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.ExtraRenderingInfo.html`. |

### getExtras

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getExtras(): Bundle!
```

Gets an optional bundle with extra data. The bundle is lazily created and never `null`.

**Note:** It is recommended to use the package name of your application as a prefix for the keys to avoid collisions which may confuse an accessibility service if the same key has different meaning when emitted from different applications.

| Returns |
|---|---|
| `https://developer.android.com/reference/android/os/Bundle.html!` | The bundle. |

### getHintText

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getHintText(): CharSequence?
```

Gets the hint text of this node. Only applies to nodes where text can be entered.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | The hint text. |

### getInfo

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun [getInfo](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getInfo())(): Any!
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#unwrap()` instead.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | The wrapped `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html`. |

### getInputType

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getInputType(): Int
```

Gets the input type of the source as defined by `https://developer.android.com/reference/android/text/InputType.html`.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The input type. |

### getLabelFor

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getLabelFor(): AccessibilityNodeInfoCompat!
```

Gets the node info for which the view represented by this info serves as a label for accessibility purposes.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | The labeled info. |

### getLabeledBy

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun [getLabeledBy](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getLabeledBy())(): AccessibilityNodeInfoCompat!
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getLabeledByList()` instead.

Gets the node info which serves as the label of the view represented by this info for accessibility purposes.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | The label. |

### getLabeledByList

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun getLabeledByList(): (Mutable)List<AccessibilityNodeInfoCompat!>
```

Gets the list of node infos which serve as the labels of the view represented by this info for accessibility purposes.

| Returns |
|---|---|
| `(https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!>` | The list of labels in the order that they were added. |

### getLiveRegion

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getLiveRegion(): Int
```

Gets the node's live region mode.

A live region is a node that contains information that is important for the user and when it changes the user should be notified. For example, in a login screen with a TextView that displays an "incorrect password" notification, that view should be marked as a live region with mode `https://developer.android.com/reference/kotlin/androidx/core/view/ViewCompat#ACCESSIBILITY_LIVE_REGION_POLITE()`.

It is the responsibility of the accessibility service to monitor `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityEventCompat#TYPE_WINDOW_CONTENT_CHANGED()` events indicating changes to live region nodes and their children.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The live region mode, or `https://developer.android.com/reference/kotlin/androidx/core/view/ViewCompat#ACCESSIBILITY_LIVE_REGION_NONE()` if the view is not a live region. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/ViewCompat#getAccessibilityLiveRegion(android.view.View)` |   |

### getMaxTextLength

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getMaxTextLength(): Int
```

Returns the maximum text length for this node.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The maximum text length, or -1 for no limit. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setMaxTextLength(int)` |   |

### getMinDurationBetweenContentChangesMillis

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
fun getMinDurationBetweenContentChangesMillis(): Long
```

Gets the minimum time duration between two content change events.

### getMovementGranularities

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getMovementGranularities(): Int
```

Gets the movement granularities for traversing the text of this node.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The bit mask with granularities. |

### getPackageName

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getPackageName(): CharSequence!
```

Gets the package this node comes from.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | The package name. |

### getPaneTitle

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getPaneTitle(): CharSequence?
```

Get the title of the pane represented by this node.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | The title of the pane represented by this node, or `null` if this node does not represent a pane. |

### getParent

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getParent(): AccessibilityNodeInfoCompat!
```

Gets the parent.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | The parent. |

### getParent

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
fun getParent(prefetchingStrategy: Int): AccessibilityNodeInfoCompat?
```

Gets the parent.

Use `prefetchingStrategy` to determine the types of nodes prefetched from the app if the requested node is not in the cache and must be retrieved by the app. The default strategy for `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getParent()` is a combination of ancestor and sibling strategies. The app will prefetch until all nodes fulfilling the strategies are fetched, another node request is sent, or the maximum prefetch batch size of `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#MAX_NUMBER_OF_PREFETCHED_NODES()` nodes is reached. To prevent interruption by another request and to force prefetching of the max batch size, use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_UNINTERRUPTIBLE()`.

| Parameters |
|---|---|
| `prefetchingStrategy: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the prefetching strategy. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat?` | The parent. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called outside of an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html` and before calling `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setQueryFromAppProcessEnabled(android.view.View,boolean)`. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_ANCESTORS()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_DESCENDANTS_BREADTH_FIRST()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_DESCENDANTS_DEPTH_FIRST()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_DESCENDANTS_HYBRID()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_SIBLINGS()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#FLAG_PREFETCH_UNINTERRUPTIBLE()` |   |

### getRangeInfo

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getRangeInfo(): AccessibilityNodeInfoCompat.RangeInfoCompat!
```

Gets the range info if this node is a range.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.RangeInfoCompat!` | The range. |

### getRoleDescription

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getRoleDescription(): CharSequence?
```

Gets the custom role description.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | The role description. |

### getSelection

Added in [1.18.0](https://developer.android.com/jetpack/androidx/releases/core#1.18.0)

```
fun getSelection(): AccessibilityNodeInfoCompat.SelectionCompat?
```

Gets the selection of this node.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.SelectionCompat?` | The selection, or `null` if the node has no selection. Compatibility: - API \<: 36.1: Always returns `null` |

### getStateDescription

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
fun getStateDescription(): CharSequence?
```

Gets the state description of this node.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | the state description or null if android version smaller than 19. |

### getStructuredDataInfo

Added in [1.19.1](https://developer.android.com/jetpack/androidx/releases/core#1.19.1)

```
fun getStructuredDataInfo(): AccessibilityNodeInfoCompat.StructuredDataInfoCompat?
```

Gets additional structured data properties of this node. This is only populated for nodes that offer additional structured data, like a mathematical expression.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.StructuredDataInfoCompat?` | A subclass of `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.StructuredDataInfoCompat` representing the type and additional structured data for this node, or `null` if this node does not have additional structured data attached. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setStructuredDataInfo(androidx.core.view.accessibility.AccessibilityNodeInfoCompat.StructuredDataInfoCompat)` | Compatibility: - API \<: 36.1: Always returns `null` |

### getSupplementalDescription

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun getSupplementalDescription(): CharSequence?
```

Returns the supplemental description of this `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat`.

A supplemental description provides brief supplemental information for this node, such as the purpose of the node when that purpose is not conveyed within its textual representation. For example, if a dropdown select has a purpose of setting font family, the supplemental description could be "font family". If this node has children, its supplemental description serves as additional information and is not intended to replace any existing information in the subtree. This is different from the `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getContentDescription()` in that this description is purely supplemental while a content description may be used to replace a description for a node or its subtree that an assistive technology would otherwise compute based on other properties of the node and its descendants.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | The supplemental description. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setSupplementalDescription(java.lang.CharSequence)` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getContentDescription()` |   |

### getText

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getText(): CharSequence!
```

Gets the text of this node.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | The text. |

### getTextSelectionEnd

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getTextSelectionEnd(): Int
```

Gets the text selection end.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The text selection end if there is selection or -1. |

### getTextSelectionStart

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getTextSelectionStart(): Int
```

Gets the text selection start.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The text selection start if there is selection or -1. |

### getTooltipText

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getTooltipText(): CharSequence?
```

Gets the tooltip text of this node.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | The tooltip text. |

### getTouchDelegateInfo

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/core#1.2.0)

```
fun getTouchDelegateInfo(): AccessibilityNodeInfoCompat.TouchDelegateInfoCompat?
```

Get the `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.TouchDelegateInfoCompat` for touch delegate behavior with the represented view. It is possible for the same node to be pointed to by several regions. Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.TouchDelegateInfoCompat#getRegionAt(int)` to get touch delegate target `https://developer.android.com/reference/android/graphics/Region.html`, and `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.TouchDelegateInfoCompat#getTargetForRegion(android.graphics.Region)` for `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat` from the given region.

Compatibility:

- API \<29: Always returns `null`

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.TouchDelegateInfoCompat?` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.TouchDelegateInfoCompat` or `null` if there are no touch delegates in this node. |

### getTraversalAfter

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getTraversalAfter(): AccessibilityNodeInfoCompat!
```

Gets the node after which this one is visited in accessibility traversal. A screen-reader must visit the content of the other node before the content of this one.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | The succeeding node if such or `null`. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setTraversalAfter(android.view.View)` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setTraversalAfter(android.view.View,int)` |   |

### getTraversalBefore

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getTraversalBefore(): AccessibilityNodeInfoCompat!
```

Gets the node before which this one is visited during traversal. A screen-reader must visit the content of this node before the content of the one it precedes.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | The succeeding node if such or `null`. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setTraversalBefore(android.view.View)` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setTraversalBefore(android.view.View,int)` |   |

### getUniqueId

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/core#1.9.0)

```
fun getUniqueId(): String?
```

Gets the unique id of this node.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | the unique id or null if android version smaller than 19. |

### getViewIdResourceName

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getViewIdResourceName(): String!
```

Gets the fully qualified resource name of the source view's id.

**Note:** The primary usage of this API is for UI test automation and in order to report the source view id of an `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat` the client has to set the `https://developer.android.com/reference/kotlin/androidx/core/accessibilityservice/AccessibilityServiceInfoCompat#FLAG_REPORT_VIEW_IDS()` flag when configuring their `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | The id resource name. |

### getWindow

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getWindow(): AccessibilityWindowInfoCompat!
```

Gets the window to which this node belongs.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityWindowInfoCompat!` | The window. |

| See also |
|---|---|
| `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html#getWindows()` |   |

### getWindowId

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun getWindowId(): Int
```

Gets the id of the window from which the info comes from.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The window id. |

### hasRequestInitialAccessibilityFocus

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
fun hasRequestInitialAccessibilityFocus(): Boolean
```

Gets whether the node has `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setRequestInitialAccessibilityFocus(boolean)`.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node has requested initial accessibility focus. |

### hashCode

```
fun hashCode(): Int
```

### isAccessibilityDataSensitive

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
fun isAccessibilityDataSensitive(): Boolean
```

Gets if the node's accessibility data is considered sensitive.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node's data is considered sensitive, false otherwise. |

| See also |
|---|---|
| `https://developer.android.com/reference/android/view/View.html#isAccessibilityDataSensitive()` |   |

### isAccessibilityFocused

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isAccessibilityFocused(): Boolean
```

Gets whether this node is accessibility focused.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is accessibility focused. |

### isCheckable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isCheckable(): Boolean
```

Gets whether this node is checkable.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is checkable. |

### isChecked

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun [isChecked](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isChecked())(): Boolean
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getChecked()` instead.

Gets whether this node is checked.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is checked. |

### isClickable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isClickable(): Boolean
```

Gets whether this node is clickable.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is clickable. |

### isContentInvalid

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isContentInvalid(): Boolean
```

Gets if the content of this node is invalid. For example, a date is not well-formed.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | If the node content is invalid. |

### isContextClickable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isContextClickable(): Boolean
```

Gets whether this node is context clickable.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is context clickable. |

### isDismissable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isDismissable(): Boolean
```

Gets if the node can be dismissed.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | If the node can be dismissed. |

### isEditable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isEditable(): Boolean
```

Gets if the node is editable.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is editable, false otherwise. |

### isEnabled

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isEnabled(): Boolean
```

Gets whether this node is enabled.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is enabled. |

### isFieldRequired

Added in [1.16.0](https://developer.android.com/jetpack/androidx/releases/core#1.16.0)

```
fun isFieldRequired(): Boolean
```

Gets whether a node representing a form field requires input or selection.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `true` if `this` node represents a form field that requires input or selection, `false` otherwise. |

### isFocusable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isFocusable(): Boolean
```

Gets whether this node is focusable.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is focusable. |

### isFocused

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isFocused(): Boolean
```

Gets whether this node is focused.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is focused. |

### isGranularScrollingSupported

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
fun isGranularScrollingSupported(): Boolean
```

Gets if the node supports granular scrolling.

Compatibility:

- Api \<19: Returns false.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if all scroll actions that could support `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_SCROLL_AMOUNT_FLOAT()` have done so, false otherwise. |

### isHeading

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isHeading(): Boolean
```

Returns whether node represents a heading.

**Note:** Returns `true` if either `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setHeading(boolean)` marks this node as a heading or if the node has a `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.CollectionItemInfoCompat` that marks it as such, to accommodate apps that use the now-deprecated API.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `true` if the node is a heading, `false` otherwise. |

### isImportantForAccessibility

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isImportantForAccessibility(): Boolean
```

Returns whether the node originates from a view considered important for accessibility.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `true` if the node originates from a view considered important for accessibility, `false` otherwise |

| See also |
|---|---|
| `https://developer.android.com/reference/android/view/View.html#isImportantForAccessibility()` |   |

### isLongClickable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isLongClickable(): Boolean
```

Gets whether this node is long clickable.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is long clickable. |

### isMultiLine

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isMultiLine(): Boolean
```

Gets if the node is a multi line editable text.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is multi line. |

### isPassword

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isPassword(): Boolean
```

Gets whether this node is a password.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is a password. |

### isScreenReaderFocusable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isScreenReaderFocusable(): Boolean
```

Returns whether the node is explicitly marked as a focusable unit by a screen reader. Note that `false` indicates that it is not explicitly marked, not that the node is not a focusable unit. Screen readers should generally use other signals, such as `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isFocusable()`, or the presence of text in a node, to determine what should receive focus.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `true` if the node is specifically marked as a focusable unit for screen readers, `false` otherwise. |

### isScrollable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isScrollable(): Boolean
```

Gets if the node is scrollable.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is scrollable, false otherwise. |

### isSelected

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isSelected(): Boolean
```

Gets whether this node is selected.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is selected. |

### isShowingHintText

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isShowingHintText(): Boolean
```

Returns whether the node's text represents a hint for the user to enter text. It should only be `true` if the node has editable text.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `true` if the text in the node represents a hint to the user, `false` otherwise. |

### isTextEntryKey

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isTextEntryKey(): Boolean
```

Returns whether node represents a text entry key that is part of a keyboard or keypad.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `true` if the node is a text entry key, `false` otherwise. |

### isTextSelectable

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/core#1.9.0)

```
fun isTextSelectable(): Boolean
```

Gets if the node has selectable text.

Services should use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_SET_SELECTION()` for selection. Editable text nodes must also be selectable. But not all UIs will populate this field, so services should consider 'isTextSelectable \| isEditable' to ensure they don't miss nodes with selectable text.

Compatibility:

- Api \<19: Returns false.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node has selectable text. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isEditable()` |   |

### isVisibleToUser

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun isVisibleToUser(): Boolean
```

Gets whether this node is visible to the user.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether the node is visible to the user. |

### obtain

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun obtain(): AccessibilityNodeInfoCompat!
```

Returns a cached instance if such is available otherwise a new one.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | An instance. |

### obtain

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun obtain(info: AccessibilityNodeInfoCompat!): AccessibilityNodeInfoCompat!
```

Returns a cached instance if such is available or a new one is create. The returned instance is initialized from the given `info`.

| Parameters |
|---|---|
| `info: https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | The other info. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | An instance. |

### obtain

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun obtain(source: View!): AccessibilityNodeInfoCompat!
```

Returns a cached instance if such is available otherwise a new one and sets the source.

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | An instance. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setSource(android.view.View)` |   |

### obtain

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun obtain(root: View!, virtualDescendantId: Int): AccessibilityNodeInfoCompat!
```

Returns a cached instance if such is available otherwise a new one and sets the source.

| Parameters |
|---|---|
| `root: https://developer.android.com/reference/android/view/View.html!` | The root of the virtual subtree. |
| `virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The id of the virtual descendant. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat!` | An instance. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setSource(android.view.View,int)` |   |

### performAction

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun performAction(action: Int): Boolean
```

Performs an action on the node.

**Note:** An action can be performed only if the request is made from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`.

| Parameters |
|---|---|
| `action: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The action to perform. |

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the action was performed. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called outside of an AccessibilityService. |

### performAction

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun performAction(action: Int, arguments: Bundle!): Boolean
```

Performs an action on the node.

**Note:** An action can be performed only if the request is made from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`.

| Parameters |
|---|---|
| `action: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The action to perform. |
| `arguments: https://developer.android.com/reference/android/os/Bundle.html!` | A bundle with additional arguments. |

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the action was performed. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called outside of an AccessibilityService. |

### recycle

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
fun [recycle](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#recycle())(): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Accessibility Object recycling is no longer necessary or functional.

Return an instance back to be reused.

**Note:** You must not touch the object after calling this function.

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If the info is already recycled. |

### refresh

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun refresh(): Boolean
```

Refreshes this info with the latest state of the view it represents.

**Note:** If this method returns false this info is obsolete since it represents a view that is no longer in the view tree.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether the refresh succeeded. |

### removeAction

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun removeAction(
    action: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
): Boolean
```

Removes an action that can be performed on the node. If the action was not already added to the node, calling this method has no effect.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `action: https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | The action to be removed. |

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | The action removed from the list of actions. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### removeChild

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun removeChild(child: View!): Boolean
```

Removes a child. If the child was not previously added to the node, calling this method has no effect.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `child: https://developer.android.com/reference/android/view/View.html!` | The child. |

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if the child was present |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### removeChild

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun removeChild(root: View!, virtualDescendantId: Int): Boolean
```

Removes a virtual child which is a descendant of the given `root`. If the child was not previously added to the node, calling this method has no effect.

| Parameters |
|---|---|
| `root: https://developer.android.com/reference/android/view/View.html!` | The root of the virtual subtree. |
| `virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The id of the virtual child. |

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if the child was present |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#addChild(android.view.View,int)` |   |

### removeLabeledBy

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun removeLabeledBy(label: View): Boolean
```

Removes a label. If the label was not previously added to the node, calling this method has no effect.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

**Note:** If the Android version is less than 36, this method has no effect; call `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setLabeledBy(android.view.View)` with `null` to remove the current label.

| Parameters |
|---|---|
| `label: https://developer.android.com/reference/android/view/View.html` | The node which serves as this node's label. |

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if the label was present |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#addLabeledBy(android.view.View)` |   |

### removeLabeledBy

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun removeLabeledBy(root: View, virtualDescendantId: Int): Boolean
```

Removes a label which is a virtual descendant of the given `root`. If `virtualDescendantId` is `https://developer.android.com/reference/android/view/View.html#NO_ID` the root is set as the label. If the label was not previously added to the node, calling this method has no effect.

**Note:** If the Android version is less than 36, this method has no effect; call `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setLabeledBy(android.view.View)` with `null` to remove the current label.

| Parameters |
|---|---|
| `root: https://developer.android.com/reference/android/view/View.html` | The root of the virtual subtree. |
| `virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The id of the virtual node which serves as this node's label. |

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | true if the label was present |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#addLabeledBy(android.view.View,int)` |   |

### setAccessibilityDataSensitive

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
fun setAccessibilityDataSensitive(accessibilityDataSensitive: Boolean): Unit
```

Sets whether this node's accessibility data is considered sensitive.

For SDK 34 and higher: when set to true the framework will hide this node from accessibility services with the `https://developer.android.com/reference/android/accessibilityservice/AccessibilityServiceInfo.html#isAccessibilityTool()` property set to false.

Otherwise, for SDK 19 and higher: the framework cannot hide this node but this property may be read by accessibility services to provide modified behavior for sensitive nodes.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `accessibilityDataSensitive: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node's accessibility data is considered sensitive. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setAccessibilityFocused

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setAccessibilityFocused(focused: Boolean): Unit
```

Sets whether this node is accessibility focused.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is accessibility focused. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setAvailableExtraData

Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/core#1.8.0)

```
fun setAvailableExtraData(extraDataKeys: (Mutable)List<String!>): Unit
```

Set the extra data available for this node.

**Note:** When a `View` passes in a non-empty list, it promises that it will populate the node's extras with corresponding pieces of information in `https://developer.android.com/reference/android/view/View.html#addExtraDataToAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo, java.lang.String, android.os.Bundle)`.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `extraDataKeys: (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>` | A list of types of extra data that are available. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getAvailableExtraData()` |   |

### setBoundsInParent

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.2.0](https://developer.android.com/jetpack/androidx/releases/core#1.2.0)

```
fun [setBoundsInParent](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setBoundsInParent(android.graphics.Rect))(bounds: Rect!): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Accessibility services should not care about these bounds.

Sets the node bounds in the viewParent's coordinates. `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getParent()` does not represent the source's viewParent. Instead it represents the result of `https://developer.android.com/reference/android/view/View.html#getParentForAccessibility()`, which returns the closest ancestor where `https://developer.android.com/reference/android/view/View.html#isImportantForAccessibility()` is true. So this method is not reliable.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `bounds: https://developer.android.com/reference/android/graphics/Rect.html!` | The node bounds. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setBoundsInScreen

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setBoundsInScreen(bounds: Rect!): Unit
```

Sets the node bounds in screen coordinates.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `bounds: https://developer.android.com/reference/android/graphics/Rect.html!` | The node bounds. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setBoundsInWindow

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
fun setBoundsInWindow(bounds: Rect): Unit
```

Sets the node bounds in window coordinates.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

Compatibility:

- API \<19: No-op

| Parameters |
|---|---|
| `bounds: https://developer.android.com/reference/android/graphics/Rect.html` | The node bounds. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setCanOpenPopup

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setCanOpenPopup(opensPopup: Boolean): Unit
```

Sets if this node opens a popup or a dialog.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `opensPopup: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | If the the node opens a popup. |

### setCheckable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setCheckable(checkable: Boolean): Unit
```

Sets whether this node is checkable.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `checkable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is checkable. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setChecked

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun [setChecked](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setChecked(boolean))(checked: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setChecked(int)` instead.

Sets whether this node is checked.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `checked: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is checked. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setChecked

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun setChecked(checked: Int): Unit
```

Sets the checked state of this node. This is only meaningful when `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isCheckable()` returns `true`.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `checked: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The checked state. One of - `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#CHECKED_STATE_FALSE()` - `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#CHECKED_STATE_TRUE()` - `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#CHECKED_STATE_PARTIAL()` |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |
| `https://developer.android.com/reference/java/lang/IllegalArgumentException.html` | if `checked` is not one of `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#CHECKED_STATE_FALSE()`, `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#CHECKED_STATE_TRUE()`, or `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#CHECKED_STATE_PARTIAL()`. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setCheckable(boolean)` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isCheckable()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getChecked()` |   |

### setClassName

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setClassName(className: CharSequence!): Unit
```

Sets the class this node comes from.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `className: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | The class name. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setClickable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setClickable(clickable: Boolean): Unit
```

Sets whether this node is clickable.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `clickable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is clickable. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setCollectionInfo

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setCollectionInfo(collectionInfo: Any!): Unit
```

### setCollectionItemInfo

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setCollectionItemInfo(collectionItemInfo: Any!): Unit
```

### setContainerTitle

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
fun setContainerTitle(containerTitle: CharSequence?): Unit
```

Sets the container title for app-developer-defined container which can be any type of ViewGroup or layout. Container title will be used to group together related controls, similar to HTML fieldset. Or container title may identify a large piece of the UI that is visibly grouped together, such as a toolbar or a card, etc.

Container title helps to assist in navigation across containers and other groups. For example, a screen reader may use this to determine where to put accessibility focus.

Container title is different from pane title`https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setPaneTitle(java.lang.CharSequence)` which indicates that the node represents a window or activity.

Example: An app can set container titles on several non-modal menus, containing TextViews or ImageButtons that have content descriptions, text, etc. Screen readers can quickly switch accessibility focus among menus instead of child views. Other accessibility-services can easily find the menu.

Compatibility:

- API \<19: No-op

| Parameters |
|---|---|
| `containerTitle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | The container title that is associated with a ViewGroup/Layout on the screen. |

### setContentDescription

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setContentDescription(contentDescription: CharSequence!): Unit
```

Sets the content description of this node.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `contentDescription: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | The content description. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setContentInvalid

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setContentInvalid(contentInvalid: Boolean): Unit
```

Sets if the content of this node is invalid. For example, a date is not well-formed.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `contentInvalid: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | If the node content is invalid. |

### setContextClickable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setContextClickable(contextClickable: Boolean): Unit
```

Sets whether this node is context clickable.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `contextClickable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is context clickable. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setDismissable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setDismissable(dismissable: Boolean): Unit
```

Sets if the node can be dismissed.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `dismissable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | If the node can be dismissed. |

### setDrawingOrder

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setDrawingOrder(drawingOrderInParent: Int): Unit
```

Set the drawing order of the view corresponding it this node.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `drawingOrderInParent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` |   |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setEditable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setEditable(editable: Boolean): Unit
```

Sets whether this node is editable.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `editable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is editable. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setEnabled

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setEnabled(enabled: Boolean): Unit
```

Sets whether this node is enabled.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is enabled. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setError

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setError(error: CharSequence!): Unit
```

Sets the error text of this node.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `error: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | The error text. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setExpandedState

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun setExpandedState(state: Int): Unit
```

Sets the expanded state of the node.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`.

| Parameters |
|---|---|
| `state: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | new expanded state of this node. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalArgumentException.html` | If state is not one of: - `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXPANDED_STATE_UNDEFINED()` - `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXPANDED_STATE_COLLAPSED()` - `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXPANDED_STATE_PARTIAL()` - `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#EXPANDED_STATE_FULL()` |
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService |

### setFieldRequired

Added in [1.16.0](https://developer.android.com/jetpack/androidx/releases/core#1.16.0)

```
fun setFieldRequired(required: Boolean): Unit
```

Sets whether `this` node represents a form field that requires input or selection.

**Note:** Cannot be called from an AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `required: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `true` if input or selection of this node should be required, ` false` otherwise. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService |

### setFocusable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setFocusable(focusable: Boolean): Unit
```

Sets whether this node is focusable.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `focusable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is focusable. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setFocused

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setFocused(focused: Boolean): Unit
```

Sets whether this node is focused.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is focused. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setGranularScrollingSupported

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
fun setGranularScrollingSupported(granularScrollingSupported: Boolean): Unit
```

Sets if the node supports granular scrolling. This should be set to true if all scroll actions which could support `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_SCROLL_AMOUNT_FLOAT()` have done so.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

Compatibility:

- Api \<19: No-op.

| Parameters |
|---|---|
| `granularScrollingSupported: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node supports granular scrolling, false otherwise. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setHeading

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setHeading(isHeading: Boolean): Unit
```

Sets whether the node represents a heading.

This method has no effect below API 19

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `isHeading: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `true` if the node is a heading, `false` otherwise. |

### setHintText

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setHintText(hintText: CharSequence?): Unit
```

Sets the hint text of this node. Only applies to nodes where text can be entered.

This method has no effect below API 19

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `hintText: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | The hint text for this mode. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setImportantForAccessibility

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setImportantForAccessibility(important: Boolean): Unit
```

Sets whether the node is considered important for accessibility.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `important: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `true` if the node is considered important for accessibility, `false` otherwise |

### setInputType

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setInputType(inputType: Int): Unit
```

Sets the input type of the source as defined by `https://developer.android.com/reference/android/text/InputType.html`.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `inputType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The input type. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setLabelFor

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setLabelFor(labeled: View!): Unit
```

Sets the view for which the view represented by this info serves as a label for accessibility purposes.

| Parameters |
|---|---|
| `labeled: https://developer.android.com/reference/android/view/View.html!` | The view for which this info serves as a label. |

### setLabelFor

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setLabelFor(root: View!, virtualDescendantId: Int): Unit
```

Sets the view for which the view represented by this info serves as a label for accessibility purposes. If `virtualDescendantId` is `https://developer.android.com/reference/android/view/View.html#NO_ID` the root is set as the labeled.

A virtual descendant is an imaginary View that is reported as a part of the view hierarchy for accessibility purposes. This enables custom views that draw complex content to report themselves as a tree of virtual views, thus conveying their logical structure.

| Parameters |
|---|---|
| `root: https://developer.android.com/reference/android/view/View.html!` | The root whose virtual descendant serves as a label. |
| `virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The id of the virtual descendant. |

### setLabeledBy

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun [setLabeledBy](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setLabeledBy(android.view.View))(label: View!): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#addLabeledBy(android.view.View)` or `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#removeLabeledBy(android.view.View)` instead.

Sets the view which serves as the label of the view represented by this info for accessibility purposes.

| Parameters |
|---|---|
| `label: https://developer.android.com/reference/android/view/View.html!` | The view that labels this node's source. |

### setLabeledBy

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun [setLabeledBy](https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setLabeledBy(android.view.View,int))(root: View!, virtualDescendantId: Int): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#addLabeledBy(android.view.View,int)` or `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#removeLabeledBy(android.view.View,int)` instead.

Sets the view which serves as the label of the view represented by this info for accessibility purposes. If `virtualDescendantId` is `https://developer.android.com/reference/android/view/View.html#NO_ID` the root is set as the label.

A virtual descendant is an imaginary View that is reported as a part of the view hierarchy for accessibility purposes. This enables custom views that draw complex content to report themselves as a tree of virtual views, thus conveying their logical structure.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `root: https://developer.android.com/reference/android/view/View.html!` | The root whose virtual descendant labels this node's source. |
| `virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The id of the virtual descendant. |

### setLiveRegion

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setLiveRegion(mode: Int): Unit
```

Sets the node's live region mode.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `mode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The live region mode, or `https://developer.android.com/reference/kotlin/androidx/core/view/ViewCompat#ACCESSIBILITY_LIVE_REGION_NONE()` if the view is not a live region. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/ViewCompat#setAccessibilityLiveRegion(android.view.View,int)` |   |

### setLongClickable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setLongClickable(longClickable: Boolean): Unit
```

Sets whether this node is long clickable.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `longClickable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is long clickable. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setMaxTextLength

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setMaxTextLength(max: Int): Unit
```

Sets the maximum text length, or -1 for no limit.

Typically used to indicate that an editable text field has a limit on the number of characters entered.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `max: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The maximum text length. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getMaxTextLength()` |   |

### setMinDurationBetweenContentChangesMillis

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
fun setMinDurationBetweenContentChangesMillis(duration: Long): Unit
```

Sets the minimum time duration between two content change events, which is used in throttling content change events in accessibility services.

Example: An app can set MinDurationBetweenContentChanges as 1 min for a view which sends content change events to accessibility services one event per second. Accessibility service will throttle those content change events and only handle one event per minute for that view.

| Parameters |
|---|---|
| `duration: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | the minimum duration between content change events. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityEventCompat#getContentChangeTypes(android.view.accessibility.AccessibilityEvent)` | for all content change types. |

### setMovementGranularities

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setMovementGranularities(granularities: Int): Unit
```

Sets the movement granularities for traversing the text of this node.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `granularities: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The bit mask with granularities. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setMultiLine

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setMultiLine(multiLine: Boolean): Unit
```

Sets if the node is a multi line editable text.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `multiLine: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is multi line. |

### setPackageName

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setPackageName(packageName: CharSequence!): Unit
```

Sets the package this node comes from.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `packageName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | The package name. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setPaneTitle

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setPaneTitle(paneTitle: CharSequence?): Unit
```

If this node represents a visually distinct region of the screen that may update separately from the rest of the window, it is considered a pane. Set the pane title to indicate that the node is a pane, and to provide a title for it.

This method has no effect below API 19

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `paneTitle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | The title of the window represented by this node. |

### setParent

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setParent(parent: View!): Unit
```

Sets the parent.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `parent: https://developer.android.com/reference/android/view/View.html!` | The parent. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setParent

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setParent(root: View!, virtualDescendantId: Int): Unit
```

Sets the parent to be a virtual descendant of the given `root`. If `virtualDescendantId` equals to `https://developer.android.com/reference/android/view/View.html#NO_ID` the root is set as the parent.

A virtual descendant is an imaginary View that is reported as a part of the view hierarchy for accessibility purposes. This enables custom views that draw complex content to report them selves as a tree of virtual views, thus conveying their logical structure.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

This method is not supported on devices running API level \<16 since the platform did not support virtual descendants of real views.

| Parameters |
|---|---|
| `root: https://developer.android.com/reference/android/view/View.html!` | The root of the virtual subtree. |
| `virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The id of the virtual descendant. |

### setPassword

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setPassword(password: Boolean): Unit
```

Sets whether this node is a password.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `password: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is a password. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setQueryFromAppProcessEnabled

Added in [1.12.0](https://developer.android.com/jetpack/androidx/releases/core#1.12.0)

```
fun setQueryFromAppProcessEnabled(view: View, enabled: Boolean): Unit
```

Connects this node to the View's root so that operations on this node can query the entire `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat` tree and perform accessibility actions on nodes.

Testing or debugging tools should create this `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat` node using `https://developer.android.com/reference/kotlin/androidx/core/view/ViewCompat#onInitializeAccessibilityNodeInfo(android.view.View,androidx.core.view.accessibility.AccessibilityNodeInfoCompat)` or `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeProviderCompat` and call this method, then navigate and interact with the node tree by calling methods on the node. Calling this method more than once on the same node is a no-op. After calling this method, all nodes linked to this node (children, ancestors, etc.) are also queryable.

Here "query" refers to the following node operations:

- check properties of this node (example: `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isScrollable()`)
- find and query children (example: `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getChild(int)`)
- find and query the parent (example: `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getParent()`)
- find focus (examples: `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#findFocus(int)`, `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#focusSearch(int)`)
- find and query other nodes (example: `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#findAccessibilityNodeInfosByText(java.lang.String)`, `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#findAccessibilityNodeInfosByViewId(java.lang.String)`)
- perform actions (example: `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#performAction(int)`)

This is intended for short-lived inspections from testing or debugging tools in the app process, as operations on this node tree will only succeed as long as the associated view hierarchy remains attached to a window. `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat` objects can quickly become out of sync with their corresponding `https://developer.android.com/reference/android/view/View.html` objects; if you wish to inspect a changed or different view hierarchy then create a new node from any view in that hierarchy and call this method on that new node, instead of disabling \&re-enabling the connection on the previous node.

Compatibility:

- API \<34: No-op

| Parameters |
|---|---|
| `view: https://developer.android.com/reference/android/view/View.html` | The view that generated this node, or any view in the same view-root hierarchy. |
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether to enable (true) or disable (false) querying from the app process. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`, or if provided a `https://developer.android.com/reference/android/view/View.html` that is not attached to a window. |

### setRangeInfo

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setRangeInfo(rangeInfo: AccessibilityNodeInfoCompat.RangeInfoCompat!): Unit
```

Sets the range info if this node is a range.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `rangeInfo: https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.RangeInfoCompat!` | The range info. |

### setRequestInitialAccessibilityFocus

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
fun setRequestInitialAccessibilityFocus(
    requestInitialAccessibilityFocus: Boolean
): Unit
```

Sets whether the node has requested initial accessibility focus.

If the node `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#hasRequestInitialAccessibilityFocus()`, this node would be one of candidates to be accessibility focused when the window appears.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `requestInitialAccessibilityFocus: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node requests to receive initial accessibility focus. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setRoleDescription

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setRoleDescription(roleDescription: CharSequence?): Unit
```

Sets the custom role description.

The role description allows you to customize the name for the view's semantic role. For example, if you create a custom subclass of `https://developer.android.com/reference/android/view/View.html` to display a menu bar, you could assign it the role description of "menu bar".

**Warning:** For consistency with other applications, you should not use the role description to force accessibility services to describe standard views (such as buttons or checkboxes) using specific wording. For example, you should not set a role description of "check box" or "tick box" for a standard `https://developer.android.com/reference/android/widget/CheckBox.html`. Instead let accessibility services decide what feedback to provide.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `roleDescription: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | The role description. |

### setScreenReaderFocusable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setScreenReaderFocusable(screenReaderFocusable: Boolean): Unit
```

Sets whether the node should be considered a focusable unit by a screen reader.

This method has no effect below API 19

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `screenReaderFocusable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `true` if the node is a focusable unit for screen readers, `false` otherwise. |

### setScrollable

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setScrollable(scrollable: Boolean): Unit
```

Sets if the node is scrollable.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `scrollable: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is scrollable, false otherwise. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setSelected

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setSelected(selected: Boolean): Unit
```

Sets whether this node is selected.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node is selected. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setSelection

Added in [1.18.0](https://developer.android.com/jetpack/androidx/releases/core#1.18.0)

```
fun setSelection(selection: AccessibilityNodeInfoCompat.SelectionCompat?): Unit
```

Sets the selection of this node.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `selection: https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.SelectionCompat?` | The selection, or `null` to clear the selection. Compatibility: - API \<: 36.1: Do nothing |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setShowingHintText

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setShowingHintText(showingHintText: Boolean): Unit
```

Sets whether the node's text represents a hint for the user to enter text. It should only be `true` if the node has editable text.

This method has no effect below API 19

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `showingHintText: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `true` if the text in the node represents a hint to the user, `false` otherwise. |

### setSource

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setSource(source: View!): Unit
```

Sets the source.

| Parameters |
|---|---|
| `source: https://developer.android.com/reference/android/view/View.html!` | The info source. |

### setSource

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setSource(root: View!, virtualDescendantId: Int): Unit
```

Sets the source to be a virtual descendant of the given `root`. If `virtualDescendantId` is `https://developer.android.com/reference/android/view/View.html#NO_ID` the root is set as the source.

A virtual descendant is an imaginary View that is reported as a part of the view hierarchy for accessibility purposes. This enables custom views that draw complex content to report themselves as a tree of virtual views, thus conveying their logical structure.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

This method is not supported on devices running API level \<16 since the platform did not support virtual descendants of real views.

| Parameters |
|---|---|
| `root: https://developer.android.com/reference/android/view/View.html!` | The root of the virtual subtree. |
| `virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The id of the virtual descendant. |

### setStateDescription

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
fun setStateDescription(stateDescription: CharSequence?): Unit
```

Sets the state description of this node.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `stateDescription: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | the state description of this node. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setStructuredDataInfo

Added in [1.19.1](https://developer.android.com/jetpack/androidx/releases/core#1.19.1)

```
fun setStructuredDataInfo(
    structuredDataInfoCompat: AccessibilityNodeInfoCompat.StructuredDataInfoCompat?
): Unit
```

Sets additional structured data properties of this node, such as for a mathematical expression.

| Parameters |
|---|---|
| `structuredDataInfoCompat: https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.StructuredDataInfoCompat?` | The `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.StructuredDataInfoCompat` object (e.g., an instance of `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.MathInfoCompat`) describing the node. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getStructuredDataInfo()` | Compatibility: - API \<: 36.1: Do nothing |

### setSupplementalDescription

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
fun setSupplementalDescription(supplementalDescription: CharSequence?): Unit
```

Sets the supplemental description of this `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat`.

A supplemental description provides brief supplemental information for this node, such as the purpose of the node when that purpose is not conveyed within its textual representation. For example, if a dropdown select has a purpose of setting font family, the supplemental description could be "font family". If this node has children, its supplemental description serves as additional information and is not intended to replace any existing information in the subtree. This is different from the `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setContentDescription(java.lang.CharSequence)` in that this description is purely supplemental while a content description may be used to replace a description for a node or its subtree that an assistive technology would otherwise compute based on other properties of the node and its descendants.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `supplementalDescription: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | The supplemental description. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getSupplementalDescription()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#setContentDescription(java.lang.CharSequence)` |   |

### setText

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setText(text: CharSequence!): Unit
```

Sets the text of this node.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `text: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | The text. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setTextEntryKey

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setTextEntryKey(isTextEntryKey: Boolean): Unit
```

Sets whether the node represents a text entry key that is part of a keyboard or keypad.

This method has no effect below API 19

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `isTextEntryKey: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `true` if the node is a text entry key, `false` otherwise. |

### setTextSelectable

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/core#1.9.0)

```
fun setTextSelectable(selectableText: Boolean): Unit
```

Sets if the node has selectable text.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

Compatibility:

- Api \<19: Does not operate.

| Parameters |
|---|---|
| `selectableText: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | True if the node has selectable text, false otherwise. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setTextSelection

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setTextSelection(start: Int, end: Int): Unit
```

Sets the text selection start and end.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `start: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The text selection start. |
| `end: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The text selection end. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setTooltipText

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setTooltipText(tooltipText: CharSequence?): Unit
```

Sets the tooltip text of this node.

This method has no effect below API 19

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `tooltipText: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | The tooltip text. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setTouchDelegateInfo

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/core#1.2.0)

```
fun setTouchDelegateInfo(
    delegatedInfo: AccessibilityNodeInfoCompat.TouchDelegateInfoCompat
): Unit
```

Set touch delegate info if the represented view has a `https://developer.android.com/reference/android/view/TouchDelegate.html`.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

Compatibility:

- API \<29: No-op

| Parameters |
|---|---|
| `delegatedInfo: https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.TouchDelegateInfoCompat` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.TouchDelegateInfoCompat` |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setTraversalAfter

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setTraversalAfter(view: View!): Unit
```

Sets the view whose node is visited after this one in accessibility traversal. A screen-reader must visit the content of the other node before the content of this one.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `view: https://developer.android.com/reference/android/view/View.html!` | The previous view. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getTraversalAfter()` |   |

### setTraversalAfter

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setTraversalAfter(root: View!, virtualDescendantId: Int): Unit
```

Sets the node after which this one is visited in accessibility traversal. A screen-reader must visit the content of the other node before the content of this one. If `virtualDescendantId` equals to `https://developer.android.com/reference/android/view/View.html#NO_ID` the root is set as the predecessor.

A virtual descendant is an imaginary View that is reported as a part of the view hierarchy for accessibility purposes. This enables custom views that draw complex content to report them selves as a tree of virtual views, thus conveying their logical structure.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `root: https://developer.android.com/reference/android/view/View.html!` | The root of the virtual subtree. |
| `virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The id of the virtual descendant. |

### setTraversalBefore

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setTraversalBefore(view: View!): Unit
```

Sets the view before whose node this one should be visited during traversal. A screen-reader must visit the content of this node before the content of the one it precedes.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `view: https://developer.android.com/reference/android/view/View.html!` | The view providing the preceding node. |

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#getTraversalBefore()` |   |

### setTraversalBefore

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setTraversalBefore(root: View!, virtualDescendantId: Int): Unit
```

Sets the node before which this one is visited during traversal. A screen-reader must visit the content of this node before the content of the one it precedes. The successor is a virtual descendant of the given `root`. If `virtualDescendantId` equals to `https://developer.android.com/reference/android/view/View.html#NO_ID` the root is set as the successor.

A virtual descendant is an imaginary View that is reported as a part of the view hierarchy for accessibility purposes. This enables custom views that draw complex content to report them selves as a tree of virtual views, thus conveying their logical structure.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `root: https://developer.android.com/reference/android/view/View.html!` | The root of the virtual subtree. |
| `virtualDescendantId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The id of the virtual descendant. |

### setUniqueId

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/core#1.9.0)

```
fun setUniqueId(uniqueId: String?): Unit
```

Sets the unique id of this node.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `uniqueId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | the unique id of this node. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### setViewIdResourceName

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setViewIdResourceName(viewId: String!): Unit
```

Sets the fully qualified resource name of the source view's id.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `viewId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | The id resource name. |

### setVisibleToUser

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun setVisibleToUser(visibleToUser: Boolean): Unit
```

Sets whether this node is visible to the user.

**Note:** Cannot be called from an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html`. This class is made immutable before being delivered to an AccessibilityService.

| Parameters |
|---|---|
| `visibleToUser: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether the node is visible to the user. |

| Throws |
|---|---|
| `https://developer.android.com/reference/java/lang/IllegalStateException.html` | If called from an AccessibilityService. |

### toString

```
fun toString(): String
```

### unwrap

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
fun unwrap(): AccessibilityNodeInfo!
```

| Returns |
|---|---|
| `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html!` | The unwrapped `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html`. |

### wrap

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun wrap(info: AccessibilityNodeInfo): AccessibilityNodeInfoCompat!
```

Creates a new instance wrapping an `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html`.

| Parameters |
|---|---|
| `info: https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html` | The info. |