Hazard
public struct Hazard : Equatable, Hashable
A hazard.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Unique identifier of the hazard data.
Declaration
Swift
public let id: HazardID -
Defines the time the hazard not be valid anymore.
Declaration
Swift
public let expirationTime: Date -
The version is an incrementing counter so that greater numbers are indicating an update of the hazard message content.
Declaration
Swift
public let version: Int -
Defines the location coordinates for this hazard.
Declaration
Swift
public let location: HazardLocation -
The category of the hazard.
Declaration
Swift
public let category: HazardCategory -
The severity of the hazard.
Declaration
Swift
public let severity: HazardSeverity -
Type of the hazard.
Declaration
Swift
public let type: HazardType -
The
DetailedHazardInformationthe basis for the individual hazard types.Declaration
Swift
public let detailedHazardInformation: DetailedHazardInformation?
TomTom SDK for iOS (0.51.1)
Hazard