ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY
val ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY: AccessibilityNodeInfoCompat.AccessibilityActionCompat(source)
Action that requests to go to the previous entity in this node's text at a given movement granularity. For example, move to the next character, word, etc.
Arguments:AccessibilityNodeInfoCompat.ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT, AccessibilityNodeInfoCompat.ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEANExample: Move to the next character and do not extend selection.
Bundle arguments = new Bundle();
arguments.putInt(AccessibilityNodeInfoCompat.ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT,
AccessibilityNodeInfoCompat.MOVEMENT_GRANULARITY_CHARACTER);
arguments.putBoolean(
AccessibilityNodeInfoCompat.ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN, false);
info.performAction(
AccessibilityActionCompat.ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY.getId(),
arguments);
Content copied to clipboard
Content copied to clipboard
See also
AccessibilityNodeInfoCompat.MOVEMENT_GRANULARITY_PAGE