HybridRoutePlanner
public struct HybridRoutePlanner : RoutePlanner
Hybrid Routing allows you to specify two RoutePlanner
instances,
which will be executed depending on the ExecutionPolicy
provided.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Execution policy determines how requests to multiple sources of flows are executed.
See moreDeclaration
Swift
public enum ExecutionPolicy
-
Declaration
Swift
public func planRoute( options: RoutePlanningOptions, onRouteReady: ((Route) -> ())? = nil, completion: @escaping (Result<RoutePlanningResponse, Error>) -> () )
-
Declaration
Swift
public func advanceGuidanceProgress(with options: RouteIncrementOptions) -> Result<TomTomSDKRoute.Route, Error>
-
Declaration
Swift
public func cancelPendingRequests()