onTruckRestrictionsWarningUpdated abstract method
- List<
TruckRestrictionWarning> restrictions
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 with DistanceType.ahead or DistanceType.reached based on the updates provided by this method.
restrictionsA list containing truck restriction warnings that have their distance type (TruckRestrictionWarning.distanceType) updated.
Implementation
void onTruckRestrictionsWarningUpdated(List<TruckRestrictionWarning> restrictions);