Language

SearchSuggestionResult.Builder.SetSuggestedResult(String) Method

Definition

Sets the suggested result that could be used as query expression in the AppSearchSession.search.

[Android.Runtime.Register("setSuggestedResult", "(Ljava/lang/String;)Landroid/app/appsearch/SearchSuggestionResult$Builder;", "", ApiSince=34)]
public Android.App.AppSearch.SearchSuggestionResult.Builder SetSuggestedResult(string suggestedResult);
[<Android.Runtime.Register("setSuggestedResult", "(Ljava/lang/String;)Landroid/app/appsearch/SearchSuggestionResult$Builder;", "", ApiSince=34)>]
member this.SetSuggestedResult : string -> Android.App.AppSearch.SearchSuggestionResult.Builder

Parameters

suggestedResult
String

Returns

Attributes

Remarks

Sets the suggested result that could be used as query expression in the AppSearchSession.search. The suggested result should only contain lowercase or special characters.

Android reference for android.app.appsearch.SearchSuggestionResult.Builder.setSuggestedResult.

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