SearchSuggestionResult.Builder


class SearchSuggestionResult.Builder


The Builder class of SearchSuggestionResult.

Summary

Public constructors

Public functions

SearchSuggestionResult

Build a SearchSuggestionResult object

SearchSuggestionResult.Builder
setSuggestedResult(suggestedResult: String)

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

Public constructors

Builder

Added in 1.1.0-alpha04
Builder()

Public functions

build

Added in 1.1.0-alpha04
fun build(): SearchSuggestionResult

Build a SearchSuggestionResult object

setSuggestedResult

Added in 1.1.0-alpha04
fun setSuggestedResult(suggestedResult: String): SearchSuggestionResult.Builder

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

The suggested result should only contain lowercase or special characters.