LowSpeedZoneWarning constructor

LowSpeedZoneWarning(
  1. double distanceToLowSpeedZoneInMeters,
  2. double speedLimitInMetersPerSecond,
  3. DistanceType distanceType,
  4. SegmentReference segmentReference,
)

Creates a new instance.

  • distanceToLowSpeedZoneInMeters Distance to the low speed warning in meters.
  • speedLimitInMetersPerSecond Speed limit of the low speed zone.
  • distanceType The distance type for the warning, e.g. a warning for a new low speed zone ahead or a warning for passing a low speed zone.
  • segmentReference The reference to the segment where the low speed zone is located. It can be used to identify the location.

Implementation

LowSpeedZoneWarning(this.distanceToLowSpeedZoneInMeters, this.speedLimitInMetersPerSecond, this.distanceType, this.segmentReference);