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
apiKeyAPI key for the Hazards API.
authenticationServerUriOptional 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?
TomTom SDK for iOS (0.53.1)
HazardsConfiguration