Package-level declarations

Types

Link copied to clipboard
interface Autocomplete<T>

Represents an autocomplete service.

Link copied to clipboard
open class AutocompleteOptions(val minimumQuery: Int = DEFAULT_MINIMUM_QUERY)

Options for configuring an Autocomplete.

Link copied to clipboard
sealed interface AutocompleteResult<out T>

Represents the result of a autocomplete operation.

Link copied to clipboard

Represents a service that provides autocomplete suggestions.

Functions

Link copied to clipboard
fun <T> Autocomplete(service: AutocompleteService<T>, options: AutocompleteOptions = AutocompleteOptions(), dispatcher: CoroutineDispatcher = Dispatchers.Default): Autocomplete<T>

Creates a new Autocomplete instance.

Link copied to clipboard
fun PlaceAutocomplete(service: AutocompleteService<Place>, options: AutocompleteOptions = AutocompleteOptions(), dispatcher: CoroutineDispatcher = Dispatchers.Default): Autocomplete<Place>

Creates a new Autocomplete instance for Places.