The Android Developer Challenge is back! Submit your idea before December 2.

AccessibilityViewCommand

interface AccessibilityViewCommand
androidx.core.view.accessibility.AccessibilityViewCommand

Functional interface used to create a custom accessibility action.

Summary

Nested classes

abstract

Object containing arguments passed into an AccessibilityViewCommand

Arguments for #ACTION_NEXT_AT_MOVEMENT_GRANULARITY and #ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY

Arguments for AccessibilityNodeInfoCompat#ACTION_NEXT_HTML_ELEMENT and #ACTION_PREVIOUS_HTML_ELEMENT

Arguments for #ACTION_MOVE_WINDOW

Arguments for #ACTION_SCROLL_TO_POSITION

Arguments for #ACTION_SET_PROGRESS

Arguments for #ACTION_SET_SELECTION

Arguments for AccessibilityNodeInfoCompat.AccessibilityActionCompat#ACTION_SET_TEXT

Public methods

abstract Boolean
perform(@NonNull view: View, @Nullable arguments: AccessibilityViewCommand.CommandArguments?)

Performs the action.

Public methods

perform

abstract fun perform(@NonNull view: View, @Nullable arguments: AccessibilityViewCommand.CommandArguments?): Boolean

Performs the action.

Parameters
view View: The view to act on
arguments View: Optional action arguments
Return
Boolean: true if the action was handled, false otherwise