Name
public extension Notification.Name
-
Posted when
PassiveLocationDataSource
receives a user location update representing movement along the expected route.The user info dictionary contains the keys
PassiveLocationDataSource.NotificationUserInfoKey.locationKey
,PassiveLocationDataSource.NotificationUserInfoKey.rawLocationKey
,PassiveLocationDataSource.NotificationUserInfoKey.matchesKey
, andPassiveLocationDataSource.NotificationUserInfoKey.roadNameKey
.Seealso
routeControllerProgressDidUpdate
Declaration
Swift
static let passiveLocationDataSourceDidUpdate: Notification.Name
-
Posted when
RouteController
receives a user location update representing movement along the expected route.The user info dictionary contains the keys
RouteController.NotificationUserInfoKey.routeProgressKey
,RouteController.NotificationUserInfoKey.locationKey
, andRouteController.NotificationUserInfoKey.rawLocationKey
.Declaration
Swift
static let routeControllerProgressDidChange: Notification.Name
-
Posted when
RouteController
receives updated information about the current route.The user info dictionary contains the key
RouteController.NotificationUserInfoKey.routeProgressKey
.Declaration
Swift
static let routeControllerDidRefreshRoute: Notification.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
RouteController.NotificationUserInfoKey.locationKey
.Declaration
Swift
static let routeControllerWillReroute: Notification.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
RouteController.NotificationUserInfoKey.locationKey
andRouteController.NotificationUserInfoKey.isProactiveKey
.Declaration
Swift
static let routeControllerDidReroute: 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
RouteController.NotificationUserInfoKey.routingErrorKey
.Declaration
Swift
static let routeControllerDidFailToReroute: Notification.Name
-
Posted when
RouteController
detects that the user has passed an ideal point for saying an instruction aloud.The user info dictionary contains the keys
RouteController.NotificationUserInfoKey.routeProgressKey
andRouteController.NotificationUserInfoKey.spokenInstructionKey
.Declaration
Swift
static let routeControllerDidPassSpokenInstructionPoint: Notification.Name
-
Posted when
RouteController
detects that the user has passed an ideal point for display an instruction visually.The user info dictionary contains the keys
RouteController.NotificationUserInfoKey.routeProgressKey
andRouteController.NotificationUserInfoKey.visualInstructionKey
.Declaration
Swift
static let routeControllerDidPassVisualInstructionPoint: Notification.Name
-
Posted when something changes in the shared
NavigationSettings
object.The user info dictionary indicates which keys and values changed.
Declaration
Swift
static let navigationSettingsDidChange: Notification.Name
-
Posted when user changes location authorization settings.
The user info dictionary contains the key
MapboxNavigationService.NotificationUserInfoKey.locationAuthorizationKey
.Declaration
Swift
static let locationAuthorizationDidChange: Notification.Name
-
Posted when
StyleManager
applies a style that was triggered by change of time of day, or when entering or exiting a tunnel.This notification is the equivalent of
StyleManagerDelegate.styleManager(_:didApply:)
. The user info dictionary contains the keyStyleManagerNotificationUserInfoKey.style
andStyleManagerNotificationUserInfoKey.styleManager
.Declaration
Swift
public static let styleManagerDidApplyStyle: Notification.Name