NotificationUserInfoKey
public struct NotificationUserInfoKey : Hashable, Equatable, RawRepresentable
Keys in the user info dictionaries of various notifications posted by instances of NavigationService.
-
Declaration
Swift
public typealias RawValue = String -
Declaration
Swift
public var rawValue: String -
Declaration
Swift
public init(rawValue: String) -
A key in the user info dictionary of a
Notification.Name.locationAuthorizationDidChangenotification. The corresponding value is aCLAccuracyAuthorizationindicating the current location authorization setting.Declaration
Swift
public static let locationAuthorizationKey: NotificationUserInfoKey -
A key in the user info dictionary of a
Notification.Name.navigationServiceSimulationDidChangenotification. The corresponding value is aSimulationStateindicating the current simulation status.Declaration
Swift
public static let simulationStateKey: NotificationUserInfoKey -
A key in the user info dictionary of a
Notification.Name.navigationServiceSimulatingDidChangenotification. The corresponding value is aDoubleindicating the current simulated speed multiplier.Declaration
Swift
public static let simulatedSpeedMultiplierKey: NotificationUserInfoKey
Install in Dash
NotificationUserInfoKey Structure Reference