NotificationUserInfoKey
public struct NotificationUserInfoKey : Hashable, Equatable, RawRepresentable
Keys in the user info dictionaries of various notifications posted by instances of PassiveLocationManager.
-
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.passiveLocationManagerDidUpdatenotification. The corresponding value is aCLLocationobject representing the current idealized user location.Declaration
Swift
public static let locationKey: NotificationUserInfoKey -
A key in the user info dictionary of a
Notification.Name.passiveLocationManagerDidUpdatenotification. The corresponding value is aCLLocationobject representing the current raw user location.Declaration
Swift
public static let rawLocationKey: NotificationUserInfoKey -
A key in the user info dictionary of a
Notification.Name.passiveLocationManagerDidUpdatenotification. The corresponding value is an array ofMatchobjects representing possible matches against the road network.Declaration
Swift
public static let matchesKey: NotificationUserInfoKey
-
A key in the user info dictionary of a
Notification.Name.passiveLocationManagerDidUpdatenotification. The corresponding value is a string representing the name of the road the user is currently traveling on.Declaration
Swift
public static let roadNameKey: NotificationUserInfoKey -
A key in the user info dictionary of a
Notification.Name.passiveLocationManagerDidUpdatenotification. The corresponding value is a string representing the full name of the road the user is currently traveling on. It might include road names in the local language and the device language.Seealso
WayNameViewDeclaration
Swift
public static let localizedRoadNameKey: NotificationUserInfoKey -
A key in the user info dictionary of a
Notification.Name.passiveLocationManagerDidUpdatenotification. The corresponding value is aMapboxDirections.VisualInstruction.Component.ImageRepresentationobject representing the road shield the user is currently traveling on.Declaration
Swift
public static let routeShieldRepresentationKey: NotificationUserInfoKey -
A key in the user info dictionary of a
Notification.Name.passiveLocationManagerDidUpdatenotification. The corresponding value is aMapboxDirections.VisualInstruction.Component.ImageRepresentationobject representing the localized road shield the user is currently traveling on.Declaration
Swift
public static let localizedRouteShieldRepresentationKey: NotificationUserInfoKey -
A key in the user info dictionary of a
Notification.Name.passiveLocationManagerDidUpdatenotification. The corresponding value is aMeasurement<UnitSpeed>representing the maximum speed limit of the current road.Declaration
Swift
public static let speedLimitKey: NotificationUserInfoKey -
A key in the user info dictionary of a
Notification.Name.passiveLocationManagerDidUpdatenotification. The corresponding value is aSignStandardrepresenting the sign standard used for speed limit signs along the current road.Declaration
Swift
public static let signStandardKey: NotificationUserInfoKey -
A key in the user info dictionary of a
Notification.Name.passiveLocationManagerDidUpdatenotification. The corresponding value is aMapMatchingResultobject representing the map matching state.Declaration
Swift
public static let mapMatchingResultKey: NotificationUserInfoKey
Install in Dash
NotificationUserInfoKey Structure Reference