Hazard
public struct Hazard : Equatable, Hashable
A hazard.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Categories of hazards.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum Category -
The severity of a hazard describes its criticality with respect to the danger. The severity may get lower over time as the hazardous situation becomes more secure (e.g., police regulating traffic).
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum Severity -
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: Location -
The category of the hazard.
Declaration
Swift
public let category: Category -
The severity of the hazard.
Declaration
Swift
public let severity: Severity -
Type of the hazard.
Declaration
Swift
public let type: HazardType
TomTom SDK for iOS (0.47.4)
Hazard