GuidanceSpeedMonitorDelegate
public protocol GuidanceSpeedMonitorDelegate : AnyObject
The protocol used to notify the delegate about changes on the speed and speed limit.
-
Notifies the delegate about changes on the speed and speed limit.
Declaration
Swift
func guidanceSpeedMonitor(_ monitor: GuidanceSpeedMonitor, didUpdateCurrentSpeed currentSpeed: Measurement<UnitSpeed>?, isSpeeding: Bool, speedLimit: Measurement<UnitSpeed>?)Parameters
monitorThe monitor announcing the changes.
currentSpeedThe current speed. It can be nil if no information is available or position is missing.
isSpeedingA boolean indicating if the current speed is above the road speed limit.
speedLimitThe lane speed limit. It can be nil if no information is available.
View on GitHub
GuidanceSpeedMonitorDelegate Protocol Reference