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.
categories
Link copied to clipboard
abstract val categories: List<String>
Search suggestion categories.
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.
externalIDs
Link copied to clipboard
abstract val externalIDs: Map<String, String>
Experimental API, can be changed or removed in the next SDK releases.
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.
matchingName
Link copied to clipboard
abstract val matchingName: String?
The feature name, as matched by the search algorithm.
metadata
Link copied to clipboard
abstract val metadata: SearchResultMetadata?
Search result metadata containing geo place's detailed information if available.
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.
serverIndex
Link copied to clipboard
abstract val serverIndex: Int?
Index in response from server.
type
Link copied to clipboard
abstract val type: SearchSuggestionType
Type of the suggestion.