Language

SearchOrder Enum

Definition

Selects ascending or descending result order.

public enum SearchOrder
type SearchOrder = 
Inheritance
SearchOrder

Fields

Name Value Description
Descending 0

Search results will be returned in a descending order.

Android reference for android.app.appsearch.SearchSpec.ORDER_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.

Ascending 1

Search results will be returned in an ascending order.

Android reference for android.app.appsearch.SearchSpec.ORDER_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.

Remarks

The order applies to the ranking signal chosen by the search specification.

Applies to