SafetyLocationsConfiguration
public struct SafetyLocationsConfiguration
Configuration parameters for safety location data sources.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Configuration parameters for safety location data sources.
Declaration
Swift
public init( apiKey: String, authenticationServerUri: String? = nil )
Parameters
apiKey
API key for the Safety Locations API.
authenticationServerUri
Optional authentication URI. If no value is provided, the data source uses the following default URI: “https://api.tomtom.com/safetycameras/1/auth/token”.
-
API key for the Safety Locations 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/safetycameras/1/auth/token”.
Declaration
Swift
public let authenticationServerUri: String?