SearchSuggestion

interface SearchSuggestion : Parcelable

Autocomplete common suggestion type.

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

address
Link copied to clipboard
abstract val address: SearchAddress?
Address, might be null or incomplete.
descriptionText
Link copied to clipboard
abstract val descriptionText: String?
Suggestion description.
distanceMeters
Link copied to clipboard
abstract val distanceMeters: Double?
Distance in meters from result to requested origin.
etaMinutes
Link copied to clipboard
abstract val etaMinutes: Double?
Estimated time of arrival (in minutes) based on the specified in the com.mapbox.search.SearchOptions origin point and navigation profile.
id
Link copied to clipboard
abstract val id: String
Unique identifier for suggestion result.
isBatchResolveSupported
Link copied to clipboard
abstract val isBatchResolveSupported: Boolean
Denotes whether this suggestion can be passed as a parameter to a batch selection method of the com.mapbox.search.SearchEngine.
makiIcon
Link copied to clipboard
abstract val makiIcon: String?
Experimental field, can be changed or removed in the next SDK releases.
name
Link copied to clipboard
abstract val name: String
Suggestion name.
requestOptions
Link copied to clipboard
abstract val requestOptions: RequestOptions
Request options, that produced this suggestion.
type
Link copied to clipboard
abstract val type: SearchSuggestionType
Type of the suggestion.