Package com.tomtom.sdk.search.client.alongroute
Types
Link copied to clipboard
interface AlongRouteSearchCallback : Callback<AlongRouteSearchResponse, SearchError>
Content copied to clipboard
Callback that reports that an AlongRouteSearchResponse or SearchError has been received.
Link copied to clipboard
data class AlongRouteSearchOptions( val route: List<GeoCoordinate>, @IntRange(from = 1, to = 3600) val maxDetourTimeSeconds: Int, val query: String = "", @IntRange(from = 1, to = 20) val limit: Int = 10, val categorySet: Set<TTomCategoryId> = emptySet(), val brandSet: Set<Brand> = emptySet(), val connectorSet: Set<ConnectorType> = emptySet(), val minPowerKw: Double? = null, val maxPowerKw: Double? = null, val fuelSet: Set<FuelType> = emptySet(), val geoPoliticalView: GeoPoliticalView? = null, val fetchDetourOffset: Boolean = false, val sortBy: SortBy = SortBy.DetourTime, val openingHours: OpeningHoursMode = OpeningHoursMode.NextSevenDays, val sessionId: String = "")
Content copied to clipboard
Defines the parameters of a Search Along the Route query.
Link copied to clipboard
data class AlongRouteSearchResponse(val summary: AlongRouteSummary, val results: List<AlongRouteResult>)
Content copied to clipboard
Response of the Along Route Search API.