共用方式為


SearchSuggestionSpec.Builder.SetRankingStrategy 方法

定義

[Android.Runtime.Register("setRankingStrategy", "(I)Landroid/app/appsearch/SearchSuggestionSpec$Builder;", "", ApiSince=34)]
public Android.App.AppSearch.SearchSuggestionSpec.Builder SetRankingStrategy (Android.App.AppSearch.SuggestionRankingStrategy rankingStrategy);
[<Android.Runtime.Register("setRankingStrategy", "(I)Landroid/app/appsearch/SearchSuggestionSpec$Builder;", "", ApiSince=34)>]
member this.SetRankingStrategy : Android.App.AppSearch.SuggestionRankingStrategy -> Android.App.AppSearch.SearchSuggestionSpec.Builder

參數

rankingStrategy
SuggestionRankingStrategy

傳回

屬性

適用於