SafetyLocationsConfiguration
public struct SafetyLocationsConfiguration
Configuration parameters for safety location data sources.
-
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
a URI to be used for authentication requests. 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?