SwiftclassTVAppServices
LocationManager
class TVAppServices.LocationManager
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
Members 19
- var
static var shared: TVAppServices.LocationManager { get } - deinit
deinit - field
var _lastKnownLocation: [String : Any]? - field
var _lastKnownStatus: TVAppServices.LocationAuthorizationStatus? - field
let accessQueue: OS_dispatch_queue - field
var cancellables: Set<Combine.AnyCancellable> - field
var locationAccessLock: os.OSAllocatedUnfairLock<()> - field
var locationClient: CLLocationManager - field
let locationDelegate: TVAppServices.LocationDelegate - field
var locationRequestInProgress: Bool - field
var requestsWaitingLocation: [([String : Any]?, Error?) -> ()] - func
numberOfRequestsWaitingLocation() -> Int? - func
requestUserAuthorization() async throws -> () - func
retrieveLocation() async throws -> [String : Any] - func
setAuthorizationStatus(TVAppServices.LocationAuthorizationStatus) -> () - func
setLocation(CLLocation?) -> () - func
setLocationClient(CLLocationManager) -> () - var
var authorizationStatus: TVAppServices.LocationAuthorizationStatus { get } - var
var lastKnownLocation: [String : Any]? { get }
Header
class LocationManager: __C.NSObject { struct NotificationUserInfoKey { static var authorizationStatus: Swift.String { get } static var location: Swift.String { get } } struct LocationKey { static var latitude: Swift.String { get } static var longitude: Swift.String { get } static var timestamp: Swift.String { get } } let accessQueue: __C.OS_dispatch_queue var locationAccessLock: os.OSAllocatedUnfairLock<()> let locationDelegate: TVAppServices.LocationDelegate var locationClient: __C.CLLocationManager var _lastKnownStatus: TVAppServices.LocationAuthorizationStatus? var _lastKnownLocation: [Swift.String : Any]? var locationRequestInProgress: Swift.Bool var requestsWaitingLocation: [([Swift.String : Any]?, (any Swift.Error)?) -> ()] var cancellables: Swift.Set<Combine.AnyCancellable> var authorizationStatus: TVAppServices.LocationAuthorizationStatus { get } var lastKnownLocation: [Swift.String : Any]? { get } func requestUserAuthorization() async throws func retrieveLocation() async throws -> [Swift.String : Any] final func numberOfRequestsWaitingLocation() -> Swift.Int? final func setLocation(_: __C.CLLocation?) final func setLocationClient(_: __C.CLLocationManager) final func setAuthorizationStatus(_: TVAppServices.LocationAuthorizationStatus) static var shared: TVAppServices.LocationManager { get } deinit }