@Beta(2020, 12) class Builder
Builder used to create an instance of AutocompleteLocationDescriptor. Once constructed, the user cannot change the field values.
Builder()
Builder used to create an instance of AutocompleteLocationDescriptor. Once constructed, the user cannot change the field values. |
fun build(): AutocompleteLocationDescriptor
Constructs a new AutocompleteSpecification. |
|
fun countryCodes(countryCodes: Set<String>): AutocompleteLocationDescriptor.Builder
A set of country codes (e.g., FR,ES). This will limit the Autocomplete results to the specified countries. |
|
fun positionBias(positionBias: LatLngBias): AutocompleteLocationDescriptor.Builder
The position where results should be biased. |