SearchSuggestionResult.Builder

public static final classSearchSuggestionResult.BuilderextendsObject

The Builder class ofSearchSuggestionResult.

Public Constructor Summary

Public Method Summary

SearchSuggestionResult
SearchSuggestionResult.Builder
setSuggestedResult(String suggestedResult)
Sets the suggested result that could be used as query expression in the AppSearchClient.search(String, SearchSpec, String).

Inherited Method Summary

Public Constructors

publicBuilder()

Public Methods

publicSearchSuggestionResult build()

Build aSearchSuggestionResult object

publicSearchSuggestionResult.Builder setSuggestedResult(String suggestedResult)

Sets the suggested result that could be used as query expression in the AppSearchClient.search(String, SearchSpec, String).

The suggested result should only contain lowercase or special characters.