Package com.tomtom.sdk.search.client.model.result
Types
Link copied to clipboard
data class AlongRouteResult( val type: String, val id: String, val score: Double, val distance: Double, val info: String = "", val poi: Poi, val relatedPois: List<RelatedPoi>? = null, val address: Address?, val position: GeoCoordinate, val mapCodes: List<MapCode>? = null, val viewport: GeoBoundingBox? = null, val entryPoints: Set<EntryPoint>? = null, val detourTime: Int? = null, val detourOffset: Int? = null, val chargingPark: ChargingPark? = null, val dataSources: AdditionalDataSources? = null)
Content copied to clipboard
Describes the details of a single result item returned by the Search API.
Link copied to clipboard
data class AutocompleteResults(val segments: List<AutocompleteSegment> = emptyList())
Content copied to clipboard
Contains a list of results returned by the Autocomplete engine.
Link copied to clipboard
data class AutocompleteSegment( val type: String, val value: String, val matches: Matches, val id: String? = null, val matchedAlternativeName: String? = null)
Content copied to clipboard
Describes an entity found within the autocomplete search term. An entity is a distinct part of the search term that can be used to generate a query.
Link copied to clipboard
data class SearchResult( val type: String, val id: String, val score: Double, val distance: Double, val info: String = "", val entityType: EntityType?, val poi: Poi?, val relatedPois: List<RelatedPoi> = emptyList(), val address: Address?, val position: GeoCoordinate, val mapCodes: List<MapCode> = emptyList(), val viewport: GeoBoundingBox?, val boundingBox: GeoBoundingBox?, val entryPoints: List<EntryPoint> = emptyList(), val addressRanges: AddressRanges?, val chargingPark: ChargingPark?, val dataSources: AdditionalDataSources?)
Content copied to clipboard
Describes the details of single result item returned by the Search API.