AccessibilityViewCommand

interface AccessibilityViewCommand


Functional interface used to create a custom accessibility action.

Summary

Public methods

abstract boolean

Performs the action.

Public methods

perform

abstract boolean perform(
    @NonNull View view,
    @Nullable AccessibilityViewCommand.CommandArguments arguments
)

Performs the action.

Parameters
@NonNull View view

The view to act on

@Nullable AccessibilityViewCommand.CommandArguments arguments

Optional action arguments

Returns
boolean

true if the action was handled, false otherwise