Name

extension Notification.Name
  • Posted when RouteController fails to reroute the user after the user diverges from the expected route.

    The user info dictionary contains the key RouteControllerNotificationUserInfoKey.errorKey.

    Declaration

    Swift

    public static let routeControllerDidFailToReroute: NSNotification.Name
  • Posted after the user diverges from the expected route, just before RouteController attempts to calculate a new route.

    The user info dictionary contains the key RouteControllerNotificationUserInfoKey.locationKey.

    Declaration

    Swift

    public static let routeControllerWillReroute: NSNotification.Name
  • Posted when RouteController obtains a new route in response to the user diverging from a previous route.

    The user info dictionary contains the keys RouteControllerNotificationUserInfoKey.locationKey and RouteControllerNotificationUserInfoKey.isProactiveKey.

    Declaration

    Swift

    public static let routeControllerDidReroute: NSNotification.Name
  • Posted when RouteController receives a user location update representing movement along the expected route.

    The user info dictionary contains the keys RouteControllerNotificationUserInfoKey.routeProgressKey, RouteControllerNotificationUserInfoKey.locationKey, and RouteControllerNotificationUserInfoKey.rawLocationKey.

    Declaration

    Swift

    public static let routeControllerProgressDidChange: NSNotification.Name
  • Posted when RouteController detects that the user has passed an ideal point for saying an instruction aloud.

    The user info dictionary contains the key RouteControllerNotificationUserInfoKey.routeProgressKey.

    Declaration

    Swift

    public static let routeControllerDidPassSpokenInstructionPoint: NSNotification.Name
  • Posted when RouteController detects that the user has passed an ideal point for displaying an instruction.

    The user info dictionary contains the key RouteControllerNotificationUserInfoKey.routeProgressKey.

    Declaration

    Swift

    public static let routeControllerDidPassVisualInstructionPoint: NSNotification.Name