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”.