TomTomSDKRouteReplannerDefault
-
Factory for creating
RouteReplannerinstances.RouteReplanneris 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
RouteReplannerFactoryusage:let routePlanner = OnlineRoutePlanner(apiKey: "<APIKEY>") let routeReplanner = RouteReplannerFactory.create(routePlanner: routePlanner)To set up RouteReplanner you will need to create a
TomTomNavigationobject using either:See moreImportant
This is a Public Preview API. It may be changed or removed at any time.
Declaration
Swift
public enum RouteReplannerFactory
TomTom SDK for iOS (0.53.1)
TomTomSDKRouteReplannerDefault