CustomAccessibilityAction

Class

Common
class CustomAccessibilityAction(val label: String, val action: () -> Boolean)

Custom accessibility action.

Parameters

labelThe description of this action
actionThe function to invoke when this action is performed. The function should have no arguments and return a boolean result indicating whether the action is successfully handled.