GuidanceNextManeuverMonitorDelegate
public protocol GuidanceNextManeuverMonitorDelegate : AnyObject
The protocol used to notify the delegate about changes on the estimated arrival at the destination.
-
Notifies the delegate about the updates in the next maneuver.
Declaration
Swift
func guidanceNextManeuverMonitor(_ monitor: GuidanceNextManeuverMonitor, didReceiveIcon maneuverIcon: UIImage?, distance: Measurement<UnitLength>, streetName: String?)Parameters
monitorThe monitor announcing the changes.
maneuverIconThe maneuver icon of the next maneuver.
distanceThe distance to the next maneuver.
streetNameThe name of the next steet.
-
Notifies the delegate when bad data is received. For example, there may be no next manuever available or the distance between the current and next maneuver may be greater than 1 km.
Declaration
Swift
func guidanceNextManeuverMonitorDidReceiveError(_ monitor: GuidanceNextManeuverMonitor)Parameters
monitorThe monitor announcing the bad data.
View on GitHub
GuidanceNextManeuverMonitorDelegate Protocol Reference