planTripFromTo

abstract suspend fun planTripFromTo(departure: Place, destination: Place)

Plan a Trip from a departure to a destination.

As a result of planning a Trip, activeTrip and activeTripPlan may be updated.

Planning a new Trip cancels active TripPlans and will immediately update activeTripPlan with the information for the new Trip to be planned as a result of this call.

Parameters

departure

The Trip departure.

destination

The Trip destination.