TomTomSDKRouteReplannerDefault
-
Factory for creating
RouteReplanner
instances.RouteReplanner
is used by navigation to either:- Get an updated version of the current route when route refresh is triggered.
- Get a new route when deviation is detected.
- Get an updated version of the route when there are instructions missing from the current route.
Example of
RouteReplannerFactory
usage:let routePlanner = OnlineRoutePlanner(apiKey: "<APIKEY>") let routeReplanner = RouteReplannerFactory.create(routePlanner: routePlanner)
To set up RouteReplanner you will need to create a
TomTomNavigation
object using either:Important
This is a Public Preview API. It may be changed or removed at any time.
Declaration
Swift
public enum RouteReplannerFactory