Hazard
public struct Hazard : Equatable, Hashable
A hazard.
Important
This is a Public Preview API. It may be changed or removed at any time.The category of the hazard.
Declaration
Swift
public let category: HazardCategory
The DetailedHazardInformation
the basis for the individual hazard types.
Declaration
Swift
public let detailedHazardInformation: DetailedHazardInformation?
Defines the time the hazard not be valid anymore.
Declaration
Swift
public let expirationTime: Date
Unique identifier of the hazard data.
Declaration
Swift
public let id: HazardID
Defines the location coordinates for this hazard.
Declaration
Swift
public let location: HazardLocation
The severity of the hazard.
Declaration
Swift
public let severity: HazardSeverity
Type of the hazard.
Declaration
Swift
public let type: HazardType
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