Google 致力于为黑人社区推动种族平等。查看具体举措

AccessibilityViewCommand.MoveAtGranularityArguments

public static final class AccessibilityViewCommand.MoveAtGranularityArguments
extends AccessibilityViewCommand.CommandArguments

java.lang.Object
   ↳ androidx.core.view.accessibility.AccessibilityViewCommand.CommandArguments
     ↳ androidx.core.view.accessibility.AccessibilityViewCommand.MoveAtGranularityArguments


Arguments for #ACTION_NEXT_AT_MOVEMENT_GRANULARITY and #ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY

Summary

Public constructors

MoveAtGranularityArguments()

Public methods

boolean getExtendSelection()
int getGranularity()

Inherited methods

Public constructors

MoveAtGranularityArguments

public MoveAtGranularityArguments ()

Public methods

getExtendSelection

public boolean getExtendSelection ()

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