SearchSuggestionResult.Builder


public final class SearchSuggestionResult.Builder


The Builder class of SearchSuggestionResult.

Summary

Public constructors

Public methods

@NonNull SearchSuggestionResult

Build a SearchSuggestionResult object

@NonNull SearchSuggestionResult.Builder
setSuggestedResult(@NonNull String suggestedResult)

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

Public constructors

Builder

Added in 1.1.0-alpha04
public Builder()

Public methods

build

Added in 1.1.0-alpha04
public @NonNull SearchSuggestionResult build()

Build a SearchSuggestionResult object

setSuggestedResult

Added in 1.1.0-alpha04
public @NonNull SearchSuggestionResult.Builder setSuggestedResult(@NonNull String suggestedResult)

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

The suggested result should only contain lowercase or special characters.