sdk-search / com.tomtom.online.sdk.search.data.fuzzy / FuzzySearchQueryBuilder / withTypeAhead

withTypeAhead

fun withTypeAhead(typeAhead: Boolean): FuzzySearchQueryBuilder

Overrides IFuzzySearchQuery.withTypeAhead

If the "typeahead" flag is set, the query will be interpreted as a partial input and the search will enter predictive mode.

Parameters

typeAhead - Determines whether the predictive mode is enabled.

Return
The builder of the query with a new value for isTypeAhead being set.