# AccessibilityNodeInfoCompat.AccessibilityActionCompat

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.AccessibilityActionCompat) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

*** ** * ** ***

<br />

```
class AccessibilityNodeInfoCompat.AccessibilityActionCompat
```

<br />

*** ** * ** ***

A class defining an action that can be performed on an `https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html`. Each action has a unique id and a label.

There are three categories of actions:

- **Standard actions** - These are actions that are reported and handled by the standard UI widgets in the platform. Each standard action is associated with a resource id, e.g. `https://developer.android.com/reference/android/R.id.html#accessibilityActionScrollUp`. Note that actions were formerly associated with static constants defined in this class, e.g. `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_FOCUS()`. These actions will have `null` labels.
- **Custom actions action** - These are actions that are reported and handled by custom widgets. i.e. ones that are not part of the UI toolkit. For example, an application may define a custom action for clearing the user history.
- **Overriden standard actions** - These are actions that override standard actions to customize them. For example, an app may add a label to the standard `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_CLICK()` action to indicate to the user that this action clears browsing history.

**Note:** Views which support these actions should invoke `https://developer.android.com/reference/kotlin/androidx/core/view/ViewCompat#setImportantForAccessibility(android.view.View,int)` with `https://developer.android.com/reference/kotlin/androidx/core/view/ViewCompat#IMPORTANT_FOR_ACCESSIBILITY_YES()` to ensure an `https://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html` can discover the set of supported actions.

## Summary

| ### Constants |
|---|---|
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_ACCESSIBILITY_FOCUS()` Action that gives accessibility focus to the node. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_CLEAR_ACCESSIBILITY_FOCUS()` Action that clears accessibility focus of the node. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_CLEAR_FOCUS()` Action that clears input focus of the node. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_CLEAR_SELECTION()` Action that deselects the node. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_CLICK()` Action that clicks on the node info. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_COLLAPSE()` Action to collapse an expandable node. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_CONTEXT_CLICK()` Action that context clicks the node. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_COPY()` Action to copy the current selection to the clipboard. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_CUT()` Action to cut the current selection and place it to the clipboard. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_DISMISS()` Action to dismiss a dismissable node. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_DRAG_CANCEL()` Action to cancel a drag. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_DRAG_DROP()` Action to trigger a drop of the content being dragged. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_DRAG_START()` Action to start a drag. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_EXPAND()` Action to expand an expandable node. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_FOCUS()` Action that gives input focus to the node. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_HIDE_TOOLTIP()` Action to hide a tooltip. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_IME_ENTER()` Action to send an ime actionId which is from `https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#actionId`. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_LONG_CLICK()` Action that long clicks on the node. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_MOVE_WINDOW()` Action to move a window to a new location. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_NEXT_AT_MOVEMENT_GRANULARITY()` Action that requests to go to the next entity in this node's text at a given movement granularity. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_NEXT_HTML_ELEMENT()` Action to move to the next HTML element of a given type. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PAGE_DOWN()` Action to move to the page below. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PAGE_LEFT()` Action to move to the page left. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PAGE_RIGHT()` Action to move to the page right. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PAGE_UP()` Action to move to the page above. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PASTE()` Action to paste the current clipboard content. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PRESS_AND_HOLD()` Action that presses and holds a node. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY()` Action that requests to go to the previous entity in this node's text at a given movement granularity. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_PREVIOUS_HTML_ELEMENT()` Action to move to the previous HTML element of a given type. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_BACKWARD()` Action to scroll the node content backward. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_DOWN()` Action to scroll the node content down. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_FORWARD()` Action to scroll the node content forward. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_IN_DIRECTION()` Action that brings fully on screen the next node in the specified direction. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_LEFT()` Action to scroll the node content left. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_RIGHT()` Action to scroll the node content right. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_TO_POSITION()` Action that scrolls the node to make the specified collection position visible on screen. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_UP()` Action to scroll the node content up. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SELECT()` Action that selects the node. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_EXTENDED_SELECTION()` Action to set the extended selection. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_PROGRESS()` Action that sets progress between `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.RangeInfoCompat#getMin()` and `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.RangeInfoCompat#getMax()`. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_SELECTION()` Action to set the selection. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_TEXT()` Action that sets the text of the node. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SHOW_ON_SCREEN()` Action that requests the node make its bounding rectangle visible on the screen, scrolling if necessary just enough. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SHOW_TEXT_SUGGESTIONS()` Action to show suggestions for editable text. |
| `const https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SHOW_TOOLTIP()` Action to show a tooltip. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#AccessibilityActionCompat(int,java.lang.CharSequence)(actionId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!)` Creates a new instance. |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#equals(java.lang.Object)(obj: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#getId()()` Gets the id for this action. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#getLabel()()` Gets the label for this action. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#hashCode()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#toString()()` |

## 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: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action that gives accessibility focus to the node.

The UI element that implements this should send a `https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html#TYPE_VIEW_ACCESSIBILITY_FOCUSED` event if successful. The node that is focused should return `true` for `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isAccessibilityFocused()`.

This is intended to be used by screen readers to assist with user navigation. Apps changing focus can confuse screen readers, so the resulting behavior can vary by device and screen reader version.

This is distinct from `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_FOCUS()`, which refers to system focus. System focus is typically used to convey targets for keyboard navigation.

### 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: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action that clears accessibility focus of the node.

The UI element that implements this should send a `https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED` event if successful. The node that is cleared should return `false` for `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isAccessibilityFocused()`.

### ACTION_CLEAR_FOCUS

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

```
const val ACTION_CLEAR_FOCUS: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action that clears input focus of the node.

The node that is cleared should return `false` for `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isFocused()`.

### ACTION_CLEAR_SELECTION

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

```
const val ACTION_CLEAR_SELECTION: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action that deselects the node.

### ACTION_CLICK

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

```
const val ACTION_CLICK: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action that clicks on the node info.

The UI element that implements this should send a `https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html#TYPE_VIEW_CLICKED` event. In the View system, the default handling of this action when performed by a service is to call `https://developer.android.com/reference/android/view/View.html#performClick()`, and setting a `https://developer.android.com/reference/android/view/View.html#setOnClickListener(android.view.View.OnClickListener)` automatically adds this action.

`https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isClickable()` should return true if this action is available.

### ACTION_COLLAPSE

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

```
const val ACTION_COLLAPSE: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action to collapse an expandable node.

### ACTION_CONTEXT_CLICK

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

```
const val ACTION_CONTEXT_CLICK: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action that context clicks the node.

The UI element that implements this should send a `https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html#TYPE_VIEW_CONTEXT_CLICKED` event. In the View system, the default handling of this action when performed by a service is to call `https://developer.android.com/reference/android/view/View.html#performContextClick()`, and setting a `https://developer.android.com/reference/android/view/View.html#setOnContextClickListener(android.view.View.OnContextClickListener)` automatically adds this action.

A context click usually occurs from a mouse pointer right-click or a stylus button press.

`https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isContextClickable()` should return true if this action is available.

### ACTION_COPY

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

```
const val ACTION_COPY: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action to copy the current selection to the clipboard.

### ACTION_CUT

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

```
const val ACTION_CUT: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

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

### ACTION_DISMISS

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

```
const val ACTION_DISMISS: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action to dismiss a dismissable node.

### ACTION_DRAG_CANCEL

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

```
const val ACTION_DRAG_CANCEL: AccessibilityNodeInfoCompat.AccessibilityActionCompat
```

Action to cancel a drag.

This action is added to the source that started a drag with `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_DRAG_START()`.

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

### ACTION_DRAG_DROP

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

```
const val ACTION_DRAG_DROP: AccessibilityNodeInfoCompat.AccessibilityActionCompat
```

Action to trigger a drop of the content being dragged.

This action is added to potential drop targets if the source started a drag with `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_DRAG_START()`. In View, these targets are Views that accepted `https://developer.android.com/reference/android/view/DragEvent.html#ACTION_DRAG_STARTED` and have an `https://developer.android.com/reference/android/view/View.OnDragListener.html`.

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

### ACTION_DRAG_START

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

```
const val ACTION_DRAG_START: AccessibilityNodeInfoCompat.AccessibilityActionCompat
```

Action to start a drag.

This action initiates a drag \&drop within the system. The source's dragged content is prepared before the drag begins. In View, this action should prepare the arguments to `https://developer.android.com/reference/android/view/View.html#startDragAndDrop(android.content.ClipData, android.view.View.DragShadowBuilder, java.lang.Object, int)`} and then call the method. The equivalent should be performed for other UI toolkits.

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

### ACTION_EXPAND

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

```
const val ACTION_EXPAND: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action to expand an expandable node.

### ACTION_FOCUS

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

```
const val ACTION_FOCUS: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action that gives input focus to the node.

The focus request sends an event of `https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html#TYPE_VIEW_FOCUSED` if successful. In the View system, this is handled by `https://developer.android.com/reference/android/view/View.html#requestFocus()`.

The node that is focused should return `true` for `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isFocused()`.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_ACCESSIBILITY_FOCUS()` | for the difference between system focus and accessibility focus. |

### ACTION_HIDE_TOOLTIP

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

```
const val ACTION_HIDE_TOOLTIP: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action to hide a tooltip. A node should expose this action only for views that are currently showing a tooltip.

### ACTION_IME_ENTER

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

```
const val ACTION_IME_ENTER: AccessibilityNodeInfoCompat.AccessibilityActionCompat
```

Action to send an ime actionId which is from `https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#actionId`. This ime actionId sets by `https://developer.android.com/reference/android/widget/TextView.html#setImeActionLabel(java.lang.CharSequence, int)`, or it would be `https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_ACTION_UNSPECIFIED` if no specific actionId has set. A node should expose this action only for views that are currently with input focus and editable.

### ACTION_LONG_CLICK

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

```
const val ACTION_LONG_CLICK: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action that long clicks on the node.

The UI element that implements this should send a `https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html#TYPE_VIEW_LONG_CLICKED` event. In the View system, the default handling of this action when performed by a service is to call `https://developer.android.com/reference/android/view/View.html#performLongClick()`, and setting a `https://developer.android.com/reference/android/view/View.html#setOnLongClickListener(android.view.View.OnLongClickListener)` automatically adds this action.

`https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isLongClickable()` should return true if this action is available.

### ACTION_MOVE_WINDOW

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

```
const val ACTION_MOVE_WINDOW: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action to move a window to a new location.

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

### 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: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

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(AccessibilityNodeInfoCompat.ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT,
          AccessibilityNodeInfoCompat.MOVEMENT_GRANULARITY_CHARACTER);
  arguments.putBoolean(
          AccessibilityNodeInfoCompat.ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN, false);
  info.performAction(
          AccessibilityActionCompat.ACTION_NEXT_AT_MOVEMENT_GRANULARITY.getId(),
          arguments);
          
        
```

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

### 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: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

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(
          AccessibilityNodeInfoCompat.ACTION_ARGUMENT_HTML_ELEMENT_STRING, "BUTTON");
  info.performAction(
          AccessibilityActionCompat.ACTION_NEXT_HTML_ELEMENT.getId(), arguments);
          
        
```

### ACTION_PAGE_DOWN

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

```
const val ACTION_PAGE_DOWN: AccessibilityNodeInfoCompat.AccessibilityActionCompat
```

Action to move to the page below.

### ACTION_PAGE_LEFT

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

```
const val ACTION_PAGE_LEFT: AccessibilityNodeInfoCompat.AccessibilityActionCompat
```

Action to move to the page left.

### ACTION_PAGE_RIGHT

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

```
const val ACTION_PAGE_RIGHT: AccessibilityNodeInfoCompat.AccessibilityActionCompat
```

Action to move to the page right.

### ACTION_PAGE_UP

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

```
const val ACTION_PAGE_UP: AccessibilityNodeInfoCompat.AccessibilityActionCompat
```

Action to move to the page above.

### ACTION_PASTE

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

```
const val ACTION_PASTE: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action to paste the current clipboard content.

### ACTION_PRESS_AND_HOLD

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

```
const val ACTION_PRESS_AND_HOLD: AccessibilityNodeInfoCompat.AccessibilityActionCompat
```

Action that presses and holds a node.

This action is for nodes that have distinct behavior that depends on how long a press is held. Nodes having a single action for long press should use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_LONG_CLICK()` instead of this action, and nodes should not expose both actions.

When calling `performAction(ACTION_PRESS_AND_HOLD, bundle`, use `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_PRESS_AND_HOLD_DURATION_MILLIS_INT()` to specify how long the node is pressed. The first time an accessibility service performs ACTION_PRES_AND_HOLD on a node, it must specify 0 as ACTION_ARGUMENT_PRESS_AND_HOLD, so the application is notified that the held state has started. To ensure reasonable behavior, the values must be increased incrementally and may not exceed 10,000. UIs requested to hold for times outside of this range should ignore the action.

The total time the element is held could be specified by an accessibility user up-front, or may depend on what happens on the UI as the user continues to request the hold.

**Note:** The time between dispatching the action and it arriving in the UI process is not guaranteed. It is possible on a busy system for the time to expire unexpectedly. For the case of holding down a key for a repeating action, a delayed arrival should be benign. Please do not use this sort of action in cases where such delays will lead to unexpected UI behavior.

### 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: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

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(AccessibilityNodeInfoCompat.ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT,
          AccessibilityNodeInfoCompat.MOVEMENT_GRANULARITY_CHARACTER);
  arguments.putBoolean(
          AccessibilityNodeInfoCompat.ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN, false);
  info.performAction(
          AccessibilityActionCompat.ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY.getId(),
          arguments);
          
        
```

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

### 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: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

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(
          AccessibilityNodeInfoCompat.ACTION_ARGUMENT_HTML_ELEMENT_STRING, "BUTTON");
  info.performAction(
          AccessibilityActionCompat.ACTION_PREVIOUS_HTML_ELEMENT.getId(), arguments);
          
        
```

### ACTION_SCROLL_BACKWARD

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

```
const val ACTION_SCROLL_BACKWARD: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action to scroll the node content backward.

### ACTION_SCROLL_DOWN

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

```
const val ACTION_SCROLL_DOWN: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action to scroll the node content down.

### ACTION_SCROLL_FORWARD

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

```
const val ACTION_SCROLL_FORWARD: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action to scroll the node content forward.

### ACTION_SCROLL_IN_DIRECTION

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

```
const val ACTION_SCROLL_IN_DIRECTION: AccessibilityNodeInfoCompat.AccessibilityActionCompat
```

Action that brings fully on screen the next node in the specified direction.

This should include wrapping around to the next/previous row, column, etc. in a collection if one is available. If there is no node in that direction, the action should fail and return false.

This action should be used instead of `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SCROLL_TO_POSITION()` when a widget does not have clear row and column semantics or if a directional search is needed to find a node in a complex ViewGroup where individual nodes may span multiple rows or columns. The implementing widget must send a `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityEventCompat#TYPE_VIEW_TARGETED_BY_SCROLL()` accessibility event with the scroll target as the source. An accessibility service can listen for this event, inspect its source, and use the result when determining where to place accessibility focus.

**Arguments:** `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#ACTION_ARGUMENT_DIRECTION_INT()`. This is a required argument.

### ACTION_SCROLL_LEFT

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

```
const val ACTION_SCROLL_LEFT: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action to scroll the node content left.

### ACTION_SCROLL_RIGHT

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

```
const val ACTION_SCROLL_RIGHT: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action to scroll the node content right.

### ACTION_SCROLL_TO_POSITION

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

```
const val ACTION_SCROLL_TO_POSITION: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action that scrolls the node to make the specified collection position visible on screen.

**Arguments:**

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

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

### ACTION_SCROLL_UP

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

```
const val ACTION_SCROLL_UP: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action to scroll the node content up.

### ACTION_SELECT

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

```
const val ACTION_SELECT: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action that selects the node.

### ACTION_SET_EXTENDED_SELECTION

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

```
const val ACTION_SET_EXTENDED_SELECTION: AccessibilityNodeInfoCompat.AccessibilityActionCompat
```

Action to set the extended selection. Performing this action with no arguments clears the selection. **Example:**

```kotlin
          
             Bundle arguments = new Bundle();
 SelectionCompat selection = new SelectionCompat(null, null);
 arguments.setParcelable(
         AccessibilityNodeInfoCompat.ACTION_ARGUMENT_SELECTION_PARCELABLE,
         selection.unwrap());
 info.performAction(
         AccessibilityActionCompat.ACTION_SET_EXTENDED_SELECTION.getId(), arguments);
          
        
```

### ACTION_SET_PROGRESS

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

```
const val ACTION_SET_PROGRESS: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action that sets progress between `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.RangeInfoCompat#getMin()` and `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.RangeInfoCompat#getMax()`. It should use the same value type as `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.RangeInfoCompat#getType()`

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

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat.RangeInfoCompat` |   |

### ACTION_SET_SELECTION

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

```
const val ACTION_SET_SELECTION: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

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(AccessibilityNodeInfoCompat.ACTION_ARGUMENT_SELECTION_START_INT, 1);
  arguments.putInt(AccessibilityNodeInfoCompat.ACTION_ARGUMENT_SELECTION_END_INT, 2);
  info.performAction(AccessibilityActionCompat.ACTION_SET_SELECTION.getId(), arguments);
          
        
```

If this is a text selection, the UI element that implements this should send a `https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html#TYPE_VIEW_TEXT_SELECTION_CHANGED` event if its selection is updated. This element should also return `true` for `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isTextSelectable()`.

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

### ACTION_SET_TEXT

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

```
const val ACTION_SET_TEXT: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

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(AccessibilityNodeInfoCompat.ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE,
      "android");
 info.performAction(AccessibilityActionCompat.ACTION_SET_TEXT.getId(), arguments);
          
        
```

The UI element that implements this should send a `https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html#TYPE_VIEW_TEXT_CHANGED` event if its text is updated. This element should also return `true` for `https://developer.android.com/reference/kotlin/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isEditable()`.

### ACTION_SHOW_ON_SCREEN

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

```
const val ACTION_SHOW_ON_SCREEN: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action that requests the node make its bounding rectangle visible on the screen, scrolling if necessary just enough.

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

### ACTION_SHOW_TEXT_SUGGESTIONS

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

```
const val ACTION_SHOW_TEXT_SUGGESTIONS: AccessibilityNodeInfoCompat.AccessibilityActionCompat
```

Action to show suggestions for editable text.

### ACTION_SHOW_TOOLTIP

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

```
const val ACTION_SHOW_TOOLTIP: AccessibilityNodeInfoCompat.AccessibilityActionCompat!
```

Action to show a tooltip.

## Public constructors

### AccessibilityActionCompat

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

```
AccessibilityActionCompat(actionId: Int, label: CharSequence!)
```

Creates a new instance.

| Parameters |
|---|---|
| `actionId: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The action id. |
| `label: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html!` | The action label. |

## Public functions

### equals

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

### getId

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

```
fun getId(): Int
```

Gets the id for this action.

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

### getLabel

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

```
fun getLabel(): CharSequence!
```

Gets the label for this action. Its purpose is to describe the action to user.

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

### hashCode

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

### toString

```
fun toString(): String
```