SpeedLimitDelegate

public protocol SpeedLimitDelegate : AnyObject

This protocol should be implemented in order to receive the speed limit of the current road.

  • Called whenever the speed limit of the current road changes.

    Declaration

    Swift

    func onSpeedLimitUpdated(_ speedLimit: SpeedLimit)

    Parameters

    speedLimit

    Speed limit of the current road.