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>, val maxDetourDuration: Duration, val query: String = "", @IntRange(from = 1, to = 20) val limit: Int = 10, val categoryIds: Set<CategoryId> = emptySet(), val brands: Set<Brand> = emptySet(), val fuelTypes: Set<FuelType> = emptySet(), val connectorTypes: Set<ConnectorType> = emptySet(), val minPowerKw: Double? = null, val maxPowerKw: Double? = null, val geoPoliticalView: GeoPoliticalView? = null, val sortBy: SortBy = SortBy.DetourTime, val openingHoursMode: OpeningHoursMode = OpeningHoursMode.NextSevenDays, val sessionId: String = "")
Content copied to clipboard
Defines the parameters for the 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.