OnlineTomTomNavigationFactory
public enum OnlineTomTomNavigationFactory
Creates an instance of Navigation
configured to work in online mode by default.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates an instance of
TomTomNavigation
configured to work in online mode by default.Throws
NavigationFactoryError.invalidArgument
if neither of the following properties is specified:Configuration.apiKey
Configuration.navigationTileStore
Declaration
Swift
public static func create(configuration: Configuration) throws -> TomTomNavigation
Parameters
configuration
The configuration used for navigation setup for online mode.
Return Value
An instance of
TomTomNavigation
. -
The configuration to set up Navigation SDK for online mode.
See moreDeclaration
Swift
public struct Configuration