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.Seealso
WayNameView
Declaration
Swift
public static let roadNameKey: 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