Name
public extension Notification.Name
-
Posted when
PassiveLocationManagerreceives 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.localizedRoadNameKey,PassiveLocationManager.NotificationUserInfoKey.mapMatchingResultKey,PassiveLocationManager.NotificationUserInfoKey.routeShieldRepresentationKeyandPassiveLocationManager.NotificationUserInfoKey.localizedRouteShieldRepresentationKey.Seealso
routeControllerProgressDidUpdateDeclaration
Swift
static let passiveLocationManagerDidUpdate: Notification.Name
-
Posted when
RouteControllerreceives 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.headingKeyandRouteController.NotificationUserInfoKey.mapMatchingResultKey.Note
Notification emitted by
LegacyRouteControllerwill not containRouteController.NotificationUserInfoKey.headingKeyandRouteController.NotificationUserInfoKey.mapMatchingResultKey.Seealso
Declaration
Swift
static let routeControllerProgressDidChange: Notification.Name -
Posted when
RouteControllerreceives 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
RouteControllerattempts to calculate a new route.The user info dictionary contains the keys
RouteController.NotificationUserInfoKey.locationKeyandRouteController.NotificationUserInfoKey.headingKey.Declaration
Swift
static let routeControllerWillReroute: Notification.Name -
Posted when
RouteControllerobtains 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
RouteControllerfails 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
RouteControllerhas detected a change in alternative routes list.The user info dictionary contains
RouteController.NotificationUserInfoKey.updatedAlternativesKeyandRouteController.NotificationUserInfoKey.removedAlternativesKeykeys.Declaration
Swift
static let routeControllerDidUpdateAlternatives: Notification.Name -
Posted when
RouteControllerhas failed to change alternative routes list.The user info dictionary contains
RouteController.NotificationUserInfoKey.alternativesErrorKey.Declaration
Swift
static let routeControllerDidFailToUpdateAlternatives: Notification.Name -
Posted when
RouteControllerhas switched to coincide online version of the current route.The user info dictionary contains
RouteController.NotificationUserInfoKey.coincidentRouteKey.Declaration
Swift
static let routeControllerDidSwitchToCoincidentOnlineRoute: Notification.Name -
Posted when
RouteControllerhas detected user taking an alternative route and before updated the main route.The user info dictionary contains
RouteController.NotificationUserInfoKey.locationKeyandRouteController.NotificationUserInfoKey.routeKeykeys.Declaration
Swift
static let routeControllerWillTakeAlternativeRoute: Notification.Name -
Posted when
RouteControllerhas 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
RouteControllerhas 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
RouteControllerdetects that the user has passed an ideal point for saying an instruction aloud.The user info dictionary contains the keys
RouteController.NotificationUserInfoKey.routeProgressKeyandRouteController.NotificationUserInfoKey.spokenInstructionKey.Declaration
Swift
static let routeControllerDidPassSpokenInstructionPoint: Notification.Name -
Posted when
RouteControllerdetects that the user has passed an ideal point for display an instruction visually.The user info dictionary contains the keys
RouteController.NotificationUserInfoKey.routeProgressKeyandRouteController.NotificationUserInfoKey.visualInstructionKey.Declaration
Swift
static let routeControllerDidPassVisualInstructionPoint: Notification.Name -
Posted when
RouteControllerdetects the road name.The user info dictionary contains the key
RouteController.NotificationUserInfoKey.roadNameKey,RouteController.NotificationUserInfoKey.roadNameKey, andRouteController.NotificationUserInfoKey.routeShieldRepresentationKey.Declaration
Swift
static let currentRoadNameDidChange: Notification.Name -
Posted when
RouteControllerdetects 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
NavigationSettingsobject.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
NavigationServiceupdate the simulating status.The user info dictionary contains the key
MapboxNavigationService.NotificationUserInfoKey.simulationStateKeyandMapboxNavigationService.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
electronicHorizonDidEnterRoadObjectuntil 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.roadObjectIdentifierKeyandRoadGraph.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.roadObjectIdentifierKeyandRoadGraph.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
StyleManagerapplies 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.styleandStyleManagerNotificationUserInfoKey.styleManager.Declaration
Swift
public static let styleManagerDidApplyStyle: Notification.Name
-
Posted when value of
NavigationCamera.stateproperty changes.The user info dictionary contains
NavigationCamera.NotificationUserInfoKey.statekey.Declaration
Swift
public static let navigationCameraStateDidChange: Notification.Name -
Posted when
NavigationViewportDataSourcechanges underlyingCameraOptions, which will be used byNavigationCameraStateTransitionwhen running camera related transitions oniOSandCarPlay.The user info dictionary contains
NavigationCamera.NotificationUserInfoKey.cameraOptionskey.Declaration
Swift
public static let navigationCameraViewportDidChange: Notification.Name
Install in Dash
Name Extension Reference