AccessibilityViewCommand.MoveAtGranularityArguments

Added in 1.1.0

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

Added in 1.1.0
public MoveAtGranularityArguments()

Public methods

getExtendSelection

Added in 1.1.0
public boolean getExtendSelection()
Returns
boolean

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

getGranularity

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