setAction

open fun setAction(@NonNull event: AccessibilityEvent, action: Int)(source)

Deprecated

Call setAction directly.

Sets the performed action that triggered this event.

Valid actions are defined in AccessibilityNodeInfoCompat:

Parameters

event

event for which to set the action.

action

The action.

See also

Throws

If called from an AccessibilityService.