Package com.tomtom.sdk.search.client.model.result
Types
Link copied to clipboard
data class AlongRouteResult( val searchResultId: SearchResultId, val poi: Poi, val position: GeoCoordinate, val distance: Distance? = null, val address: Address? = null, val entryPoints: Set<EntryPoint> = emptySet(), val detourDuration: Duration? = null, val detourDistance: Distance? = null, val detourOffset: Distance? = null, val chargingPark: ChargingPark? = null)
Content copied to clipboard
Describes the details of a single result item returned by the Search API.
Link copied to clipboard
data class AutocompleteResult(val segments: List<AutocompleteSegment> = emptyList())
Content copied to clipboard
Contains a list of results returned by the Autocomplete engine.
Link copied to clipboard
The type of autocomplete result.
Link copied to clipboard
data class AutocompleteSegment( val type: AutocompleteMatchType, val category: Category? = null, val brand: Brand? = null, val plainText: String = "", val matchedAlternativeName: String = "")
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: ResultType, val searchResultId: SearchResultId, val position: GeoCoordinate, val distance: Distance? = null, val poi: Poi? = null, val address: Address? = null, val boundingBox: GeoBoundingBox? = null, val entryPoints: List<EntryPoint> = emptyList(), val chargingPark: ChargingPark? = null)
Content copied to clipboard
Describes the details of a single result item returned by the Search API.
Link copied to clipboard