HazardsConfiguration
public struct HazardsConfiguration
Configuration parameters for hazard data sources.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Configuration parameters for hazard data sources.
Declaration
Swift
public init( apiKey: String, authenticationServerUri: String? = nil )
Parameters
apiKey
API key for the Hazards API.
authenticationServerUri
Optional authentication URI. If no value is provided, the data source uses the following default URI: “https://api.tomtom.com/hazards/1/auth/token”.
-
API key for the Hazards API.
Declaration
Swift
public let apiKey: String
-
Optional authentication URI. If no value is provided, the data source uses the following default URI: “https://api.tomtom.com/hazards/1/auth/token”.
Declaration
Swift
public let authenticationServerUri: String?