BadRoadConditionsDetailedInformation

public class BadRoadConditionsDetailedInformation : DetailedHazardInformation

Detailed information for bad road conditions.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Initializes aBadRoadConditionsDetailedInformation.

    Declaration

    Swift

    public init(hasPotholes: Bool)

    Parameters

    hasPotholes

    Specifies if potholes expected.

  • True equals potholes are present causing bad road conditions. False equals no potholes causing bad road conditions.

    Declaration

    Swift

    public let hasPotholes: Bool
  • Implements method to check two BadRoadConditionsDetailedInformation objects for equality.

    Declaration

    Swift

    public static func == (lhs: BadRoadConditionsDetailedInformation, rhs: BadRoadConditionsDetailedInformation) -> Bool

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

    Return Value

    True if both BadRoadConditionsDetailedInformation are equal.