TruckRestrictionsWarningDelegate
public protocol TruckRestrictionsWarningDelegate : AnyObject
This protocol should be implemented in order to receive truck restriction warnings.
-
Called whenever the distance type (
TruckRestrictionWarning.distanceType) of a truck restriction changes. If needed, it is up to the application to maintain a list of active warnings like the ones withDistanceType.aheadorDistanceType.reachedbased on the updates provided by this method.Declaration
Swift
func onTruckRestrictionsWarningUpdated(_ restrictions: [TruckRestrictionWarning])Parameters
restrictionsA list containing truck restriction warnings that have their distance type (
TruckRestrictionWarning.distanceType) updated.