Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.

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 AccessibilityViewCommand.CommandArguments?: Optional action arguments
Return
Boolean true if the action was handled, false otherwise