Name
public extension Notification.Name
-
Posted when
PassiveLocationManager
receives a user location update representing movement along the expected route.The user info dictionary contains the keys
PassiveLocationManager.NotificationUserInfoKey.locationKey
,PassiveLocationManager.NotificationUserInfoKey.rawLocationKey
,PassiveLocationManager.NotificationUserInfoKey.matchesKey
,PassiveLocationManager.NotificationUserInfoKey.roadNameKey
,PassiveLocationManager.NotificationUserInfoKey.mapMatchingResultKey
andPassiveLocationManager.NotificationUserInfoKey.routeShieldRepresentationKey
.Seealso
routeControllerProgressDidUpdate
Declaration
Swift
static let passiveLocationManagerDidUpdate: 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
,RouteController.NotificationUserInfoKey.rawLocationKey
,RouteController.NotificationUserInfoKey.headingKey
andRouteController.NotificationUserInfoKey.mapMatchingResultKey
.Note
Notification emitted by
LegacyRouteController
will not containRouteController.NotificationUserInfoKey.headingKey
andRouteController.NotificationUserInfoKey.mapMatchingResultKey
.Seealso
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 keys
RouteController.NotificationUserInfoKey.locationKey
andRouteController.NotificationUserInfoKey.headingKey
.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
,RouteController.NotificationUserInfoKey.isProactiveKey
, andRouteController.NotificationUserInfoKey.headingKey
.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
has detected a change in alternative routes list.The user info dictionary contains
RouteController.NotificationUserInfoKey.updatedAlternativesKey
andRouteController.NotificationUserInfoKey.removedAlternativesKey
keys.Declaration
Swift
static let routeControllerDidUpdateAlternatives: Notification.Name
-
Posted when
RouteController
has failed to change alternative routes list.The user info dictionary contains
RouteController.NotificationUserInfoKey.alternativesErrorKey
.Declaration
Swift
static let routeControllerDidFailToUpdateAlternatives: Notification.Name
-
Posted when
RouteController
has detected user taking an alternative route and before updated the main route.The user info dictionary contains
RouteController.NotificationUserInfoKey.locationKey
andRouteController.NotificationUserInfoKey.routeKey
keys.Declaration
Swift
static let routeControllerWillTakeAlternativeRoute: Notification.Name
-
Posted when
RouteController
has finished switching to an alternative route.The user info dictionary contains the key
RouteController.NotificationUserInfoKey.locationKey
.Declaration
Swift
static let routeControllerDidTakeAlternativeRoute: Notification.Name
-
Posted when
RouteController
has failed to take an alternative and update the main route.The user info dictionary contains the key
RouteController.NotificationUserInfoKey.locationKey
.Declaration
Swift
static let routeControllerDidFailToTakeAlternativeRoute: 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
RouteController
detects the road name.The user info dictionary contains the key
RouteController.NotificationUserInfoKey.roadNameKey
andRouteController.NotificationUserInfoKey.routeShieldRepresentationKey
.Declaration
Swift
static let currentRoadNameDidChange: Notification.Name
-
Posted when
RouteController
detects the arrival at waypoint.The user info dictionary contains the key
RouteController.NotificationUserInfoKey.waypointKey
.Declaration
Swift
static let didArriveAtWaypoint: 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
NavigationService
update the simulating status.The user info dictionary contains the key
MapboxNavigationService.NotificationUserInfoKey.simulationStateKey
andMapboxNavigationService.NotificationUserInfoKey.simulatedSpeedMultiplierKey
.Declaration
Swift
static let navigationServiceSimulationDidChange: Notification.Name
-
Posted when the user’s position in the electronic horizon changes. This notification may be posted multiple times after
electronicHorizonDidEnterRoadObject
until the user transitions to a new electronic horizon.The user info dictionary contains the keys
RoadGraph.NotificationUserInfoKey.positionKey
,RoadGraph.NotificationUserInfoKey.treeKey
,RoadGraph.NotificationUserInfoKey.updatesMostProbablePathKey
, andRoadGraph.NotificationUserInfoKey.distancesByRoadObjectKey
.Declaration
Swift
static let electronicHorizonDidUpdatePosition: Notification.Name
-
Posted when the user enters a linear road object.
The user info dictionary contains the keys
RoadGraph.NotificationUserInfoKey.roadObjectIdentifierKey
andRoadGraph.NotificationUserInfoKey.didTransitionAtEndpointKey
.Declaration
Swift
static let electronicHorizonDidEnterRoadObject: Notification.Name
-
Posted when the user exits a linear road object.
The user info dictionary contains the keys
RoadGraph.NotificationUserInfoKey.roadObjectIdentifierKey
andRoadGraph.NotificationUserInfoKey.transitionKey
.Declaration
Swift
static let electronicHorizonDidExitRoadObject: Notification.Name
-
Posted when user has passed point-like object.
The user info dictionary contains the key
ElectronicHorizon.NotificationUserInfoKey.roadObjectIdentifierKey
.Declaration
Swift
static let electronicHorizonDidPassRoadObject: 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
-
Posted when value of
NavigationCamera.state
property changes.The user info dictionary contains
NavigationCamera.NotificationUserInfoKey.state
key.Declaration
Swift
public static let navigationCameraStateDidChange: Notification.Name
-
Posted when
NavigationViewportDataSource
changes underlyingCameraOptions
, which will be used byNavigationCameraStateTransition
when running camera related transitions oniOS
andCarPlay
.The user info dictionary contains
NavigationCamera.NotificationUserInfoKey.cameraOptions
key.Declaration
Swift
public static let navigationCameraViewportDidChange: Notification.Name