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.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:
onlineRoutePlanner
andofflineRoutePlanner
routeReplanner
routeReplanningEngine
At least one of the following properties must be specified:
hybridNavigationDataStore
apiKey
navigationTileStore
At least one of the following properties must be specified:
hybridNavigationDataStore
ndsStore
Declaration
Swift
public struct Configuration
Creates an instance of TomTomNavigation
configured for hybrid mode by default.
Throws
NavigationFactoryError.invalidArgument
if values in configuration are not valid.
Declaration
Swift
public static func create(configuration: Configuration) throws
-> TomTomNavigation
Parameters
configuration
|
The configuration used for navigation setup for hybrid mode. |
Return Value
An instance of TomTomNavigation
.