Address Autofill
interface AddressAutofill
Content copied to clipboard
Main entrypoint to the Mapbox Autofill SDK. Performs forward or reverse geocoding requests to fetch addresses.
Types
Functions
select
Link copied to clipboard
abstract suspend fun select(suggestion: AddressAutofillSuggestion): Expected<Exception, AddressAutofillResult>
Content copied to clipboard
Retrieves detailed information about the AddressAutofillSuggestion.
suggestions
Link copied to clipboard
abstract suspend fun suggestions(point: Point, options: AddressAutofillOptions): Expected<Exception, List<AddressAutofillSuggestion>>
Content copied to clipboard
abstract suspend fun suggestions(query: Query, options: AddressAutofillOptions): Expected<Exception, List<AddressAutofillSuggestion>>
Content copied to clipboard