DetailedHazardInformation
public class DetailedHazardInformation : Equatable, Hashable
Describes the detailed Hazard information.
Important
This is a Public Preview API. It may be changed or removed at any time.Implements method to check two DetailedHazardInformation
objects for equality.
Two DetailedHazardInformation
objects are equal if they associated with same HazardType
and DetailedHazardInformation
implementations have equal value.
Declaration
Swift
public static func == (lhs: DetailedHazardInformation, rhs: DetailedHazardInformation) -> Bool
Parameters
lhs
|
A value to compare. |
rhs
|
Another value to compare. |
Return Value
True if both DetailedHazardInformation
are equal.
Detailed information for bad road conditions.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class BadRoadConditionsDetailedInformation : DetailedHazardInformation
Hash function. Hashes the essential components of this value by feeding them into the given hasher.
Each enum case of DetailedHazardInformation
has associated values, that being fed into hasher.
But it is not enough to distinguish between different cases that might have identical associated values.
To solve this issue, unique identifiers for each case are also being fed to the hasher.
Declaration
Swift
public func hash(into hasher: inout Hasher)
Parameters
hasher
|
The hasher to use when combining the components of this instance. |
Detailed information for jam tails.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class JamTailWarningDetailedInformation : DetailedHazardInformation
Detailed information for objects on road.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class ObjectsOnRoadDetailedInformation : DetailedHazardInformation
Detailed information for reduced visibility.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class ReducedVisibilityDetailedInformation : DetailedHazardInformation
Detailed information for road works.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class RoadWorksDetailedInformation : DetailedHazardInformation
Detailed information for strong winds.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public class StrongWindDetailedInformation : DetailedHazardInformation