CLLocationUpdate
public struct CLLocationUpdate
A structure that contains the location information the framework delivers with each update. Apple Documentation
-
The user’s location, if available.
Declaration
Swift
public var location: CLLocation?
-
A Boolean value that indicates whether the user is stationary.
Declaration
Swift
public var isStationary: Bool
-
A Boolean value that indicates if location accuracy is limited.
Declaration
Swift
public var accuracyLimited: Bool
-
A Boolean value that indicates if the authorization is denied.
Declaration
Swift
public var authorizationDenied: Bool
-
A Boolean value that indicates if the authorization is denied globally (e.g., system-wide setting).
Declaration
Swift
public var authorizationDeniedGlobally: Bool
-
A Boolean value that indicates if an authorization request is in progress.
Declaration
Swift
public var authorizationRequestInProgress: Bool
-
A Boolean value that indicates if the authorization is restricted (e.g., parental controls).
Declaration
Swift
public var authorizationRestricted: Bool
-
A Boolean value that indicates if the app is insufficiently authorized for the intended use.
Declaration
Swift
public var insufficientlyInUse: Bool
-
A Boolean value that indicates if the location services are unavailable.
Declaration
Swift
public var locationUnavailable: Bool
-
A Boolean value that indicates if a service session is required for the updates.
Declaration
Swift
public var serviceSessionRequired: Bool
-
init(location:
isStationary: accuracyLimited: authorizationDenied: authorizationDeniedGlobally: authorizationRequestInProgress: authorizationRestricted: insufficientlyInUse: locationUnavailable: serviceSessionRequired: ) Undocumented
Declaration
Swift
public init(location: CLLocation? = nil, isStationary: Bool = false, accuracyLimited: Bool = false, authorizationDenied: Bool = false, authorizationDeniedGlobally: Bool = false, authorizationRequestInProgress: Bool = false, authorizationRestricted: Bool = false, insufficientlyInUse: Bool = false, locationUnavailable: Bool = false, serviceSessionRequired: Bool = false)