AutocompleteOptions
data class AutocompleteOptions(val query: String, val locale: Locale = Locale.getDefault(), @IntRange(from = 1, to = 10) val limit: Int = DEFAULT_LIMIT, val position: GeoPoint? = null, val radius: Distance? = null, val countries: Set<String> = emptySet(), val resultTypes: Set<AutoCompleteResultType> = emptySet(), val sessionId: UUID? = null)
Used for building an Autocomplete search request. Contains the parameters to use in an autocomplete search.
Properties
Link copied to clipboard
The maximum number of autocomplete results that will be returned. It defaults to DEFAULT_LIMIT. The maximum value for limit is MAX_LIMIT_VALUE.
Link copied to clipboard
Restricts the results to a specific result type. Valid result types are AutoCompleteResultType.Category and AutoCompleteResultType.Brand. An empty set implies restricting search results to both brand and category suggestions.
Link copied to clipboard