ReducedVisibilityDetailedInformation

public class ReducedVisibilityDetailedInformation : DetailedHazardInformation

Detailed information for reduced visibility.

Important

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

    Declaration

    Swift

    public init(dueToFog: Bool?, dueToHeavyRain: Bool?)

    Parameters

    dueToFog

    Specifies if reduced visibility caused by fog.

    dueToHeavyRain

    Specifies if reduced visibility caused by heavy rain.

  • True if reduced visibility is caused by fog. False, if the main reason for reduced visibility is not due to fog. Not available, if the main reason is not known or related to a different cause.

    Declaration

    Swift

    public let dueToFog: Bool?
  • True if reduced visibility is caused by heavy rain. False, if the main reason for reduced visibility is not due to heavy rain. Not available, if the main reason is not known or related to a different cause.

    Declaration

    Swift

    public let dueToHeavyRain: Bool?
  • Implements method to check two ReducedVisibilityDetailedInformation objects for equality.

    Declaration

    Swift

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

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

    Return Value

    True if both ReducedVisibilityDetailedInformation are equal.