RoutingRepository

abstract class RoutingRepository

Specifies the functions required by an AirQuality Repository. Should be implemented by a repository using a specific source of truth.

Constructors

Link copied to clipboard
fun RoutingRepository()

Functions

Link copied to clipboard
abstract fun calculateRoute(from: LatLng, to: LatLng): RoutePlan?

Calculates the route between two points

Link copied to clipboard
abstract fun calculateRouteFromWaypoints(locations: List<LatLng>): RoutePlan?

Calculates the route between several points (waypoints)

Inheritors

Link copied to clipboard