sdk-search / com.tomtom.online.sdk.search.autocomplete / AutocompleteLocationDescriptor

AutocompleteLocationDescriptor

@PublicPreview("2021.06") data class AutocompleteLocationDescriptor

Represents the location that will be used for the Autocomplete search.

Parameters

positionBias - The position where results should be biased. The radius parameter is specified in meters.

countryCodes - A set of country codes (e.g., FR,ES). This will limit the Autocomplete results to the specified countries.

Types

Builder

class Builder

Builder used to create an instance of AutocompleteLocationDescriptor. Once constructed, the user cannot change the field values.

Properties

countryCodes

val countryCodes: Set<String>

A set of country codes (e.g., FR,ES). This will limit the Autocomplete results to the specified countries.

positionBias

val positionBias: LatLngBias?

The position where results should be biased. The radius parameter is specified in meters.