SearchSuggestionResult.Builder

public static final class SearchSuggestionResult.Builder extends Object

The Builder class of SearchSuggestionResult.

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

public Builder ()

Public Methods

public SearchSuggestionResult build ()

Build a SearchSuggestionResult object

public SearchSuggestionResult.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.