WarningNotificationDistances

public struct WarningNotificationDistances : Hashable

Distances for emitting warnings according to the timing profile.

  • The distance in meters for emitting warnings when the speed limit or current speed is slow. The conditions for a speed to be considered slow are the same ones as for TimingProfile.SLOW_SPEED. The distance should be greater than 0. Defaults to 500 meters.

    Declaration

    Swift

    public var slowSpeedDistanceInMeters: Int32
  • The distance in meters for emitting warnings when the speed limit or current speed is regular. The conditions for a speed to be considered regular are the same ones as for TimingProfile.REGULAR_SPEED. The distance should be greater than 0. Defaults to 750 meters.

    Declaration

    Swift

    public var regularSpeedDistanceInMeters: Int32
  • The distance in meters for emitting warnings when the speed limit or current speed is fast. The conditions for a speed to be considered fast are the same ones as for TimingProfile.FAST_SPEED. The distance should be greater than 0. Defaults to 1500 meters.

    Declaration

    Swift

    public var fastSpeedDistanceInMeters: Int32
  • Creates a new instance.

    Declaration

    Swift

    public init(slowSpeedDistanceInMeters: Int32 = 500, regularSpeedDistanceInMeters: Int32 = 750, fastSpeedDistanceInMeters: Int32 = 1500)