AccessibilityViewCommand.MoveAtGranularityArguments

public final class AccessibilityViewCommand.MoveAtGranularityArguments extends AccessibilityViewCommand.CommandArguments


Arguments for #ACTION_NEXT_AT_MOVEMENT_GRANULARITY and #ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY

Summary

Public constructors

Public methods

boolean
int

Public constructors

MoveAtGranularityArguments

public final MoveAtGranularityArguments()

Public methods

getExtendSelection

public boolean getExtendSelection()
Returns
boolean

Whether when moving at granularity to extend the selection or to move it.

getGranularity

public int getGranularity()
Returns
int

Movement granularity to be used when traversing the node text.

See also
MOVEMENT_GRANULARITY_CHARACTER

AccessibilityNodeInfoCompat.MOVEMENT_GRANULARITY_CHARACTER

MOVEMENT_GRANULARITY_WORD

AccessibilityNodeInfoCompat.MOVEMENT_GRANULARITY_WORD

MOVEMENT_GRANULARITY_LINE

AccessibilityNodeInfoCompat.MOVEMENT_GRANULARITY_LINE

MOVEMENT_GRANULARITY_PARAGRAPH

AccessibilityNodeInfoCompat.MOVEMENT_GRANULARITY_PARAGRAPH

MOVEMENT_GRANULARITY_PAGE

AccessibilityNodeInfoCompat.MOVEMENT_GRANULARITY_PAGE