removeAction

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 android.accessibilityservice.AccessibilityService. This class is made immutable before being delivered to an AccessibilityService.

Return

The action removed from the list of actions.

Parameters

action

The action to be removed.

Throws

If called from an AccessibilityService.

Compatibility:

  • API <21: Always returns false