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.passiveLocationDataSourceDidUpdatenotification. 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.passiveLocationDataSourceDidUpdatenotification. 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.passiveLocationDataSourceDidUpdatenotification. 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.passiveLocationDataSourceDidUpdatenotification. The corresponding value is a string representing the name of the road the user is currently traveling on.Seealso
WayNameViewDeclaration
Swift
public static let roadNameKey: NotificationUserInfoKey
Install in Dash
NotificationUserInfoKey Structure Reference