SearchSuggestion

class 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
val address: SearchAddress?
Address, might be null or incomplete.
categories
Link copied to clipboard
val categories: List<String>?
Poi categories.
descriptionText
Link copied to clipboard
val descriptionText: String?
Suggestion description.
distanceMeters
Link copied to clipboard
val distanceMeters: Double?
Distance in meters from result to requested origin.
etaMinutes
Link copied to clipboard
val etaMinutes: Double?
Estimated time of arrival (in minutes) based on the specified in the com.mapbox.search.SearchOptions origin point and navigation profile.
externalIDs
Link copied to clipboard
val externalIDs: Map<String, String>
Map of external ids.
fullAddress
Link copied to clipboard
val fullAddress: String?
Full formatted address.
id
Link copied to clipboard
val id: String
Unique identifier for suggestion result.
isBatchResolveSupported
Link copied to clipboard
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
val makiIcon: String?
Maki icon name for search suggestion.
matchingName
Link copied to clipboard
val matchingName: String?
The feature name, as matched by the search algorithm.
metadata
Link copied to clipboard
val metadata: SearchResultMetadata?
Search result metadata containing geo place's detailed information if available.
name
Link copied to clipboard
val name: String
Suggestion name.
requestOptions
Link copied to clipboard
val requestOptions: RequestOptions
Request options, that produced this suggestion.
serverIndex
Link copied to clipboard
val serverIndex: Int?
Index in response from server.
type
Link copied to clipboard
val type: SearchSuggestionType
Type of the suggestion.