HybridTomTomNavigationFactory
public enum HybridTomTomNavigationFactory
Creates an instance of Navigation configured for hybrid mode by default.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates an instance of
TomTomNavigationconfigured for hybrid mode by default.Throws
NavigationFactoryError.invalidArgumentif values in configuration are not valid.Declaration
Swift
public static func create(configuration: Configuration) throws -> TomTomNavigationParameters
configurationThe configuration used for navigation setup for hybrid mode.
Return Value
An instance of
TomTomNavigation.
-
The configuration used to set up Navigation SDK to work in hybrid mode. At least one of the following properties or combinations of properties must be specified:
onlineRoutePlannerandofflineRoutePlannerrouteReplannerrouteReplanningEngine
At least one of the following properties must be specified:
hybridNavigationDataStoreapiKeynavigationTileStore
At least one of the following properties must be specified:
hybridNavigationDataStorendsStore
Declaration
Swift
public struct Configuration
TomTom SDK for iOS (0.53.1)
HybridTomTomNavigationFactory