OfflineRoutePlanner
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP] )
TomTom implementation of the entry point to perform route planning action based on the onboard route planner.
Functions
Link copied to clipboard
Cancels any ongoing plannings, and releases the resources used by the planner. Implementation of AutoCloseable.close.
Link copied to clipboard
open override fun planRoute(routePlanningOptions: RoutePlanningOptions, callback: RoutePlanningCallback): Cancellable
Asynchronously plans a route and its alternative routes using the provided RoutePlanningOptions. If the operation succeeds, RoutePlanningCallback.onSuccess is called with a RoutePlanningResponse. If the operation fails, RoutePlanningCallback.onFailure is called with a RoutingFailure.
Link copied to clipboard
Returns a string representation of the offline route planner object.