CLLocationUpdate

public struct CLLocationUpdate

A structure that contains the location information the framework delivers with each update. Apple Documentation

Location Information

  • 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

Authorization and Service Status

  • 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

Initializer