planTripTo

abstract suspend fun planTripTo(destination: Place)

Plan a Trip from the current location 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

destination

The Trip destination.