RoutesFetcherImpl

class RoutesFetcherImpl(routesRepository: RoutesRepository, configRepository: ConfigRepository, directionsSettings: DirectionsSettings, trafficIsEnabledUseCase: ObserveRouteLineTrafficEnabledUseCase, observeUserPreferredUnitOfMeasurements: ObserveUserPreferredUnitOfMeasurementsUseCase, observeDirectionsUser: ObserveDirectionsUserUseCase, logger: Logger, searchMetricsTracker: SearchMetricsTracker, searchAnalytics: SearchAnalytics, routeOptionsModes: RouteOptionsModes, augmentEvRouteOptions: AugmentEvRouteOptions) : RoutesFetcher

Constructors

Link copied to clipboard
constructor(routesRepository: RoutesRepository, configRepository: ConfigRepository, directionsSettings: DirectionsSettings, trafficIsEnabledUseCase: ObserveRouteLineTrafficEnabledUseCase, observeUserPreferredUnitOfMeasurements: ObserveUserPreferredUnitOfMeasurementsUseCase, observeDirectionsUser: ObserveDirectionsUserUseCase, logger: Logger, searchMetricsTracker: SearchMetricsTracker, searchAnalytics: SearchAnalytics, routeOptionsModes: RouteOptionsModes, augmentEvRouteOptions: AugmentEvRouteOptions)

Functions

Link copied to clipboard
open suspend override fun cancelRouteRequest()
Link copied to clipboard
open suspend override fun fetchRoutes(origin: Location, waypoints: List<DestinationSearchResult>, routeOptions: DashRouteOptions): Either<Exception, List<NavigationRoute>>