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

    monitor

    The monitor announcing the changes.

    maneuverIcon

    The maneuver icon of the next maneuver.

    distance

    The distance to the next maneuver.

    streetName

    The 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

    monitor

    The monitor announcing the bad data.