Dil

AccessibilityNodeInfoSelectionPositionOffsetType Enum

Definition

public enum AccessibilityNodeInfoSelectionPositionOffsetType
type AccessibilityNodeInfoSelectionPositionOffsetType = 
Inheritance
AccessibilityNodeInfoSelectionPositionOffsetType

Fields

Name Value Description
Text 0

The offset represents an index into the text returned by AccessibilityNodeInfo.getText().

Android reference for android.view.accessibility.AccessibilityNodeInfo.SelectionPosition.OFFSET_TYPE_TEXT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Child 1

The offset represents a position between the children of this position's node, used with AccessibilityNodeInfo.getChild(int). The offset bounds are from 0 to AccessibilityNodeInfo.getChildCount(), inclusive. An offset of 0 represents the position conceptually before the first child, and an offset equal to the child count represents the position after the last child.

Android reference for android.view.accessibility.AccessibilityNodeInfo.SelectionPosition.OFFSET_TYPE_CHILD.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to