WarningOptions
public struct WarningOptions : Hashable
A struct with options to configure WarnerEngine.warningOptions
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.
-
Safety camera warning options. Set the options in order to enable them.
Declaration
Swift
public var safetyCameraWarningOptions: SafetyCameraWarningOptions -
Truck restrictions warning options.
Declaration
Swift
public var truckRestrictionsWarningOptions: TruckRestrictionsWarningOptions -
A struct that provides road sign warning options. Set the options for filtering of road sign notifications.
Declaration
Swift
public var roadSignWarningOptions: RoadSignWarningOptions -
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.
Declaration
Swift
public var realisticViewWarningOptions: RealisticViewWarningOptions -
School zone warning options. Set the options for configuring of school zone notifications.
Declaration
Swift
public var schoolZoneWarningOptions: SchoolZoneWarningOptions -
Border crossing warning options.
Declaration
Swift
public var borderCrossingWarningOptions: BorderCrossingWarningOptions -
A struct that provides traffic merge warning options. Set the options for filtering the traffic merge notifications.
Declaration
Swift
public var trafficMergeWarningOptions: TrafficMergeWarningOptions -
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.
Declaration
Swift
public var laneDecreaseWarningOptions: LaneDecreaseWarningOptions -
init(safetyCameraWarningOptions:truckRestrictionsWarningOptions: roadSignWarningOptions: realisticViewWarningOptions: schoolZoneWarningOptions: borderCrossingWarningOptions: trafficMergeWarningOptions: laneDecreaseWarningOptions: ) Creates a new instance.
Parameters
- 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.
Declaration
Swift
public init(safetyCameraWarningOptions: SafetyCameraWarningOptions, truckRestrictionsWarningOptions: TruckRestrictionsWarningOptions, roadSignWarningOptions: RoadSignWarningOptions, realisticViewWarningOptions: RealisticViewWarningOptions, schoolZoneWarningOptions: SchoolZoneWarningOptions, borderCrossingWarningOptions: BorderCrossingWarningOptions, trafficMergeWarningOptions: TrafficMergeWarningOptions, laneDecreaseWarningOptions: LaneDecreaseWarningOptions)