AccessibilityViewCommand.MoveAtGranularityArguments

Added in 1.1.0

class AccessibilityViewCommand.MoveAtGranularityArguments : AccessibilityViewCommand.CommandArguments


Arguments for #ACTION_NEXT_AT_MOVEMENT_GRANULARITY and #ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY

Summary

Public constructors

Public constructors

MoveAtGranularityArguments

Added in 1.1.0
MoveAtGranularityArguments()

Public functions

getExtendSelection

Added in 1.1.0
fun getExtendSelection(): Boolean
Returns
Boolean

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

getGranularity

Added in 1.1.0
fun getGranularity(): Int
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