addAction

open fun addAction(action: Int)(source)

Adds an action that can be performed on the node.

Note: Cannot be called from an android.accessibilityservice.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

Parameters

action

The action.

Throws

If called from an AccessibilityService.