PlaceAutocompleteUiAdapter

class PlaceAutocompleteUiAdapter(view: SearchResultsView, placeAutocomplete: PlaceAutocomplete)

Helper class that implements search-specific logic over PlaceAutocomplete and shows search results on the SearchResultsView.

Constructors

Link copied to clipboard
fun PlaceAutocompleteUiAdapter(view: SearchResultsView, placeAutocomplete: PlaceAutocomplete)

Types

Link copied to clipboard
interface SearchListener

Search results view listener.

Functions

Link copied to clipboard

Adds a listener to be notified of search events.

Link copied to clipboard

Removes a previously added listener.

Link copied to clipboard
suspend fun search(query: String, region: BoundingBox? = null, proximity: Point? = null, options: PlaceAutocompleteOptions = PlaceAutocompleteOptions())

Performs suggestions request.