-
Emitted after the user has gone off-route but the
RouteController
failed to reroute.Declaration
Swift
public let RouteControllerDidFailToReroute = Notification.Name(MBRouteControllerDidFailToReroute)
-
Emitted after the user has gone off-route and the
RouteController
rerouted.Declaration
Swift
public let RouteControllerDidReroute = Notification.Name(MBRouteControllerDidReroute)
-
Key used for accessing the error from a
RouteControllerDidFailToReroute
notification’suserInfo
dictionary.Declaration
Swift
public let RouteControllerNotificationErrorKey = MBRouteControllerNotificationErrorKey
-
Key used for accessing the user’s current
CLLocation
from aRouteControllerWillReroute
notification’suserInfo
dictionary.Declaration
Swift
public let RouteControllerNotificationLocationKey = MBRouteControllerNotificationLocationKey
-
Key used for accessing the newly rerouted
Route
from aRouteControllerDidReroute
notification’suserInfo
dictionary.Declaration
Swift
public let RouteControllerNotificationRouteKey = MBRouteControllerNotificationRouteKey
-
Emitted when the user moves along the route.
Declaration
Swift
public let RouteControllerProgressDidChange = Notification.Name(MBRouteControllerNotificationProgressDidChange)
-
Key used for accessing the
CLLocation
object from aRouteControllerProgressDidChange
notification’suserInfo
dictionary.Declaration
Swift
public let RouteControllerProgressDidChangeNotificationLocationKey = MBRouteControllerProgressDidChangeNotificationLocationKey
-
Key used for accessing the
RouteProgress
object from aRouteControllerProgressDidChange
notification’suserInfo
dictionary.Declaration
Swift
public let RouteControllerProgressDidChangeNotificationProgressKey = MBRouteControllerProgressDidChangeNotificationProgressKey
-
Key used for accessing the number of seconds left on a step (Double) from a
RouteControllerProgressDidChange
notification’suserInfo
dictionary.Declaration
Swift
public let RouteControllerProgressDidChangeNotificationSecondsRemainingOnStepKey = MBRouteControllerProgressDidChangeNotificationSecondsRemainingOnStepKey
-
Emitted when the user has gone off-route and the
RouteController
is about to reroute.Declaration
Swift
public let RouteControllerWillReroute = Notification.Name(MBRouteControllerWillReroute)