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.passiveLocationManagerDidUpdate
notification. The corresponding value is aCLLocation
object representing the current idealized user location.Declaration
Swift
public static let locationKey: NotificationUserInfoKey
-
A key in the user info dictionary of a
Notification.Name.passiveLocationManagerDidUpdate
notification. The corresponding value is aCLLocation
object representing the current raw user location.Declaration
Swift
public static let rawLocationKey: NotificationUserInfoKey
-
A key in the user info dictionary of a
Notification.Name.passiveLocationManagerDidUpdate
notification. The corresponding value is an array ofMatch
objects 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.passiveLocationManagerDidUpdate
notification. 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.passiveLocationManagerDidUpdate
notification. 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
WayNameView
Declaration
Swift
public static let localizedRoadNameKey: NotificationUserInfoKey
-
A key in the user info dictionary of a
Notification.Name.passiveLocationManagerDidUpdate
notification. The corresponding value is aMapboxDirections.VisualInstruction.Component.ImageRepresentation
object 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.passiveLocationManagerDidUpdate
notification. The corresponding value is aMapboxDirections.VisualInstruction.Component.ImageRepresentation
object 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.passiveLocationManagerDidUpdate
notification. 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.passiveLocationManagerDidUpdate
notification. The corresponding value is aSignStandard
representing 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.passiveLocationManagerDidUpdate
notification. The corresponding value is aMapMatchingResult
object representing the map matching state.Declaration
Swift
public static let mapMatchingResultKey: NotificationUserInfoKey