SwiftclassWeatherCore
LocationManager
class WeatherCore.LocationManager
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolTeaSettings.Configurable
- protocolWeatherCore.LocationManagerType
Members 31
- deinit
deinit - field
var _authorizationSignpostID: TeaFoundation.Atomic<os.OSSignpostID?> - field
var _authorizationState: TeaFoundation.Atomic<CLAuthorizationStatus> - field
var _currentLocationStatus: TeaFoundation.Atomic<WeatherCore.LocationManager.CurrentLocationStatus> - field
var _firstRevGeoComplete: TeaFoundation.Atomic<Bool> - field
var _locationUpdateSignpostID: TeaFoundation.Atomic<os.OSSignpostID?> - field
let geocodeManager: TeaFoundation.ReferenceCountedLazy<WeatherCore.GeocodeManagerType>? - field
var hasReducedLocationUpdates: Bool - field
var isUpdatingLocation: Bool - field
let locationActivityQueue: OS_dispatch_queue - field
let locationCacheManager: WeatherCore.CurrentLocationCacheManagerType - field
var locationManager: CLLocationManager? - field
let lock: TeaFoundation.UnfairLock - field
let logger: OS_os_log - field
let notifyQueue: OS_dispatch_queue - field
var observers: [WeatherCore.LocationManagerObserverProxy] - func
addObserver(WeatherCore.LocationManagerObserver) -> () - func
locationManager(_: CLLocationManager, didFailWithError: Error) -> () - func
locationManager(_: CLLocationManager, didUpdateLocations: [CLLocation]) -> () - func
locationManagerDidChangeAuthorization(CLLocationManager) -> () - func
removeObserver(WeatherCore.LocationManagerObserver) -> () - func
requestAlwaysAuthorization() -> () - func
requestAuthorization() -> () - init
WeatherCore.LocationManager.__allocating_init(geocodeManager: TeaFoundation.ReferenceCountedLazy<WeatherCore.GeocodeManagerType>?, locationCacheManager: WeatherCore.CurrentLocationCacheManagerType) -> WeatherCore.LocationManager - init
WeatherCore.LocationManager.__allocating_init(geocodeManager: WeatherCore.GeocodeManagerType, locationCacheManager: WeatherCore.CurrentLocationCacheManagerType) -> WeatherCore.LocationManager - init
WeatherCore.LocationManager.__allocating_init() -> WeatherCore.LocationManager - var
final var authorizationState: CLAuthorizationStatus { get set } - var
final var currentCLLocation: CLLocation? { get } - var
final var currentLocation: WeatherCore.Location? { get } - var
final var limitsPrecision: Bool { get } - var
final var supportsCurrentLocation: Bool { get }
Header
class LocationManager: __C.NSObject, __C.CLLocationManagerDelegate { enum CurrentLocationResolution { case raw(__C.CLLocation) case resolved(WeatherCore.Location, __C.CLLocation) } enum CurrentLocationStatus { case fromCache(WeatherCore.LocationManager.CurrentLocationResolution) case fromCurrentSession(WeatherCore.LocationManager.CurrentLocationResolution) case notDetermined } enum UpdateError { case missingCurrentLocation case shiftingError } var locationManager: __C.CLLocationManager? var isUpdatingLocation: Swift.Bool var hasReducedLocationUpdates: Swift.Bool // synthesized from the backing storage `_firstRevGeoComplete`; the property's own accessors are stripped @TeaFoundation.Atomic var firstRevGeoComplete: Swift.Bool { get set } let logger: __C.OS_os_log // synthesized from the backing storage `_locationUpdateSignpostID`; the property's own accessors are stripped @TeaFoundation.Atomic var locationUpdateSignpostID: os.OSSignpostID? { get set } // synthesized from the backing storage `_authorizationSignpostID`; the property's own accessors are stripped @TeaFoundation.Atomic var authorizationSignpostID: os.OSSignpostID? { get set } var observers: [WeatherCore.LocationManagerObserverProxy] let lock: TeaFoundation.UnfairLock let notifyQueue: __C.OS_dispatch_queue let locationActivityQueue: __C.OS_dispatch_queue let geocodeManager: TeaFoundation.ReferenceCountedLazy<any WeatherCore.GeocodeManagerType>? let locationCacheManager: any WeatherCore.CurrentLocationCacheManagerType // synthesized from the backing storage `_currentLocationStatus`; the property's own accessors are stripped @TeaFoundation.Atomic var currentLocationStatus: WeatherCore.LocationManager.CurrentLocationStatus { get set } init(geocodeManager: TeaFoundation.ReferenceCountedLazy<any WeatherCore.GeocodeManagerType>?, locationCacheManager: any WeatherCore.CurrentLocationCacheManagerType) init(geocodeManager: any WeatherCore.GeocodeManagerType, locationCacheManager: any WeatherCore.CurrentLocationCacheManagerType) @objc override init() @TeaFoundation.Atomic final var authorizationState: __C.CLAuthorizationStatus { get set } final var currentCLLocation: __C.CLLocation? { get } final var currentLocation: WeatherCore.Location? { get } final var limitsPrecision: Swift.Bool { get } final var supportsCurrentLocation: Swift.Bool { get } @objc func locationManager(_: __C.CLLocationManager, didFailWithError: any Swift.Error) @objc func locationManager(_: __C.CLLocationManager, didUpdateLocations: [__C.CLLocation]) @objc func locationManagerDidChangeAuthorization(_: __C.CLLocationManager) final func addObserver(_: any WeatherCore.LocationManagerObserver) final func removeObserver(_: any WeatherCore.LocationManagerObserver) final func requestAuthorization() final func requestAlwaysAuthorization() deinit }