NotificationUserInfoKey
public struct NotificationUserInfoKey : Hashable, Equatable, RawRepresentable
Keys in the user info dictionaries of various notifications posted by instances of PassiveLocationDataSource
.
-
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.passiveLocationDataSourceDidUpdate
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.passiveLocationDataSourceDidUpdate
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.passiveLocationDataSourceDidUpdate
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.passiveLocationDataSourceDidUpdate
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