AI-generated Key Takeaways
-
SearchSuggestionResult is a result class from AppSearchClient.searchSuggestion.
-
It includes a nested Builder class for creating SearchSuggestionResult instances.
-
The class provides a method to retrieve a suggested result string for search queries.
-
It implements the Parcelable interface for Android interprocess communication.
The result class of the
AppSearchClient.searchSuggestion(String, SearchSuggestionSpec, String).
Nested Class Summary
| class | SearchSuggestionResult.Builder | The Builder class of SearchSuggestionResult. |
|
Inherited Constant Summary
Field Summary
| public static final Creator<SearchSuggestionResult> | CREATOR |
Public Method Summary
| boolean | |
| String |
getSuggestedResult()
Returns the suggested result that could be used as query expression in the
AppSearchClient.search(String, SearchSpec, String).
|
| int |
hashCode()
|
| void |
writeToParcel(Parcel dest, int
flags)
|
Inherited Method Summary
Fields
public static final Creator<SearchSuggestionResult> CREATOR
Public Methods
public boolean equals (Object other)
public String getSuggestedResult ()
Returns the suggested result that could be used as query expression in the
AppSearchClient.search(String, SearchSpec, String).
The suggested result will never be empty.
The suggested result only contains lowercase or special characters.