public final class

AccessibilityViewCommand.MoveAtGranularityArguments

extends AccessibilityViewCommand.CommandArguments

 java.lang.Object

androidx.core.view.accessibility.AccessibilityViewCommand.CommandArguments

↳androidx.core.view.accessibility.AccessibilityViewCommand.MoveAtGranularityArguments

Overview

Arguments for #ACTION_NEXT_AT_MOVEMENT_GRANULARITY and #ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY

Summary

Constructors
publicMoveAtGranularityArguments()

Methods
public booleangetExtendSelection()

public intgetGranularity()

from AccessibilityViewCommand.CommandArgumentssetBundle
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public MoveAtGranularityArguments()

Methods

public int getGranularity()

Returns:

Movement granularity to be used when traversing the node text.

See also: AccessibilityNodeInfoCompat.MOVEMENT_GRANULARITY_CHARACTER, AccessibilityNodeInfoCompat.MOVEMENT_GRANULARITY_WORD, AccessibilityNodeInfoCompat.MOVEMENT_GRANULARITY_LINE, AccessibilityNodeInfoCompat.MOVEMENT_GRANULARITY_PARAGRAPH, AccessibilityNodeInfoCompat.MOVEMENT_GRANULARITY_PAGE

public boolean getExtendSelection()

Returns:

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