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

AccessibilityViewCommand

public interface AccessibilityViewCommand

androidx.core.view.accessibility.AccessibilityViewCommand


Functional interface used to create a custom accessibility action.

Summary

Nested classes

class AccessibilityViewCommand.CommandArguments

Object containing arguments passed into an AccessibilityViewCommand  

class AccessibilityViewCommand.MoveAtGranularityArguments

Arguments for #ACTION_NEXT_AT_MOVEMENT_GRANULARITY and #ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY  

class AccessibilityViewCommand.MoveHtmlArguments

Arguments for AccessibilityNodeInfoCompat.ACTION_NEXT_HTML_ELEMENT and #ACTION_PREVIOUS_HTML_ELEMENT  

class AccessibilityViewCommand.MoveWindowArguments

Arguments for #ACTION_MOVE_WINDOW  

class AccessibilityViewCommand.ScrollToPositionArguments

Arguments for #ACTION_SCROLL_TO_POSITION  

class AccessibilityViewCommand.SetProgressArguments

Arguments for #ACTION_SET_PROGRESS  

class AccessibilityViewCommand.SetSelectionArguments

Arguments for #ACTION_SET_SELECTION  

class AccessibilityViewCommand.SetTextArguments

Arguments for AccessibilityNodeInfoCompat.AccessibilityActionCompat.ACTION_SET_TEXT  

Public methods

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

Performs the action.

Public methods

perform

public abstract boolean perform (View view, 
                AccessibilityViewCommand.CommandArguments arguments)

Performs the action.

Parameters
view View: The view to act on

arguments AccessibilityViewCommand.CommandArguments: Optional action arguments

Returns
boolean true if the action was handled, false otherwise