AccessibilityViewCommand

Added in 1.1.0

public interface AccessibilityViewCommand


Functional interface used to create a custom accessibility action.

Summary

Public methods

abstract boolean

Performs the action.

Public methods

perform

Added in 1.1.0
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