ObjectsOnRoadDetailedInformation

public class ObjectsOnRoadDetailedInformation : DetailedHazardInformation

Detailed information for objects on road.

Important

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

    Declaration

    Swift

    public init(animals: Bool?, people: Bool?)

    Parameters

    animals

    Specifies if obstacle caused by animals.

    people

    Specifies if obstacle caused by people.

  • True if the obstacle on the road is one or more animals. False, if the obstacle is not an animal. Nil means that the service does not know if it is an animal or not.

    Declaration

    Swift

    public let animals: Bool?
  • True if the obstacle on the road is caused by people. False if there are no people causing an obstacle. Not available means that the service does not know if there are people or not.

    Declaration

    Swift

    public let people: Bool?
  • Implements method to check two ObjectsOnRoadDetailedInformation objects for equality.

    Declaration

    Swift

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

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

    Return Value

    True if both ObjectsOnRoadDetailedInformation are equal.