Language

SearchSpec.RankingStrategy Property

Definition

Returns the ranking strategy.

public int RankingStrategy { [Android.Runtime.Register("getRankingStrategy", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getRankingStrategy", "()I", "", ApiSince=31)>]
member this.RankingStrategy : int

Property Value

Value is one of the following: RANKING_STRATEGY_NONE RANKING_STRATEGY_DOCUMENT_SCORE RANKING_STRATEGY_CREATION_TIMESTAMP RANKING_STRATEGY_RELEVANCE_SCORE RANKING_STRATEGY_USAGE_COUNT RANKING_STRATEGY_USAGE_LAST_USED_TIMESTAMP RANKING_STRATEGY_SYSTEM_USAGE_COUNT RANKING_STRATEGY_SYSTEM_USAGE_LAST_USED_TIMESTAMP RANKING_STRATEGY_JOIN_AGGREGATE_SCORE RANKING_STRATEGY_ADVANCED_RANKING_EXPRESSION

Attributes

Remarks

Returns the ranking strategy.

Java documentation for android.app.appsearch.SearchSpec.getRankingStrategy().

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