Language

AccessibilityCollectionSortDirection Enum

Definition

Specifies the sort direction reported for a collection item.

public enum AccessibilityCollectionSortDirection
type AccessibilityCollectionSortDirection = 
Inheritance
AccessibilityCollectionSortDirection

Fields

Name Value Description
None 0

There is no sort direction.

Android reference for android.view.accessibility.AccessibilityNodeInfo.CollectionItemInfo.SORT_DIRECTION_NONE.

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.

Ascending 1

Items are sorted in ascending order (e.g., A-Z, 0-9).

Android reference for android.view.accessibility.AccessibilityNodeInfo.CollectionItemInfo.SORT_DIRECTION_ASCENDING.

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.

Descending 2

Items are sorted in descending order (e.g., Z-A, 9-0).

Android reference for android.view.accessibility.AccessibilityNodeInfo.CollectionItemInfo.SORT_DIRECTION_DESCENDING.

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.

Other 3

Items are sorted, but using a method other than ascending or descending (e.g., based on relevance or a custom algorithm).

Android reference for android.view.accessibility.AccessibilityNodeInfo.CollectionItemInfo.SORT_DIRECTION_OTHER.

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.

Remarks

These values identify the sort direction stored in AccessibilityNodeInfo.CollectionItemInfo.

Applies to