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.locationAuthorizationDidChange
notification. The corresponding value is aCLAccuracyAuthorization
indicating the current location authorization setting.Declaration
Swift
public static let locationAuthorizationKey: NotificationUserInfoKey
-
A key in the user info dictionary of a
Notification.Name.navigationServiceSimulationDidChange
notification. The corresponding value is aSimulationState
indicating the current simulation status.Declaration
Swift
public static let simulationStateKey: NotificationUserInfoKey
-
A key in the user info dictionary of a
Notification.Name.navigationServiceSimulatingDidChange
notification. The corresponding value is aDouble
indicating the current simulated speed multiplier.Declaration
Swift
public static let simulatedSpeedMultiplierKey: NotificationUserInfoKey