TrafficMergeWarningOptions

public struct TrafficMergeWarningOptions : Hashable

A struct that provides traffic merge warning options. Set the options for filtering the traffic merge notifications.

  • The types of roads containing traffic which will trigger a warning when they merge with the current highway. If the list is empty, the merging roads containing traffic are not filtered by type.

    Declaration

    Swift

    public var typesFilter: [TrafficMergeRoadType]
  • Enables or disables the text notification emitted together with the traffic merge warner.

    Declaration

    Swift

    public var enableTextNotification: Bool
  • The warning notification distance in meters applicable for traffic merge warning regardless of the timing profile. Defaults to 1500 meters.

    Declaration

    Swift

    public var warningDistanceInMeters: Int32
  • Creates a new instance.

    Declaration

    Swift

    public init(typesFilter: [TrafficMergeRoadType] = [], enableTextNotification: Bool = true, warningDistanceInMeters: Int32 = 1500)