WarningOptions constructor

WarningOptions(
  1. SafetyCameraWarningOptions safetyCameraWarningOptions,
  2. TruckRestrictionsWarningOptions truckRestrictionsWarningOptions,
  3. RoadSignWarningOptions roadSignWarningOptions,
  4. RealisticViewWarningOptions realisticViewWarningOptions,
  5. SchoolZoneWarningOptions schoolZoneWarningOptions,
  6. BorderCrossingWarningOptions borderCrossingWarningOptions,
  7. TrafficMergeWarningOptions trafficMergeWarningOptions,
  8. LaneDecreaseWarningOptions laneDecreaseWarningOptions,
)

Creates a new instance.

  • safetyCameraWarningOptions Safety camera warning options. Set the options in order to enable them.
  • truckRestrictionsWarningOptions Truck restrictions warning options.
  • roadSignWarningOptions A struct that provides road sign warning options. Set the options for filtering of road sign notifications.
  • realisticViewWarningOptions Realistic view warning options. Set the options for filtering the realistic view notifications and setting the realistic view notification distances based on the road type.
  • schoolZoneWarningOptions School zone warning options. Set the options for configuring of school zone notifications.
  • borderCrossingWarningOptions Border crossing warning options.
  • trafficMergeWarningOptions A struct that provides traffic merge warning options. Set the options for filtering the traffic merge notifications.
  • laneDecreaseWarningOptions A struct that provides lane decrease warning options. Set the options for filtering the lane decrease notifications.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

Implementation

WarningOptions(this.safetyCameraWarningOptions, this.truckRestrictionsWarningOptions, this.roadSignWarningOptions, this.realisticViewWarningOptions, this.schoolZoneWarningOptions, this.borderCrossingWarningOptions, this.trafficMergeWarningOptions, this.laneDecreaseWarningOptions);