SwiftclassWeatherCore
LocationMetadataManager
class WeatherCore.LocationMetadataManager
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
Members 17
- deinit
deinit - field
var countryCodes: [String : WeatherCore.CountryCode]+0x40 - field
let geocodeService: WeatherCore.GeocodeServiceType+0x10 - field
let lock: TeaFoundation.UnfairLock+0x20 - field
var observers: [WeatherCore.CountryCodeManagerObserverProxy]+0x28 - field
var store: WeatherCore.LocationMetadataStoreType+0x30 - field
var supportsVendingAddresses: Bool+0x48 - func
addObserver(WeatherCore.LocationMetadataManagerObserver) -> () - func
availableAddress(for: WeatherCore.Location) -> String? - func
availableCountryCode(for: WeatherCore.Location.Identifier) -> WeatherCore.CountryCode? - func
availableDisplayRegion(for: WeatherCore.Location) -> WeatherCore.LocationDisplayRegion? - func
removeObserver(WeatherCore.LocationMetadataManagerObserver) -> () - func
resolveAddress(for: WeatherCore.Location) -> TeaFoundation.Promise<String?> - func
resolveCountryCode(for: WeatherCore.Location) -> TeaFoundation.Promise<WeatherCore.CountryCode> - func
resolveDisplayRegion(for: WeatherCore.Location) -> TeaFoundation.Promise<WeatherCore.LocationDisplayRegion?> - init
WeatherCore.LocationMetadataManager.__allocating_init(geocodeService: WeatherCore.GeocodeServiceType, store: WeatherCore.LocationMetadataStoreType) -> WeatherCore.LocationMetadataManager - var
final var requiresShowingAddresses: Bool { get }
Header
class LocationMetadataManager { let geocodeService: any WeatherCore.GeocodeServiceType let lock: TeaFoundation.UnfairLock var observers: [WeatherCore.CountryCodeManagerObserverProxy] var store: any WeatherCore.LocationMetadataStoreType var countryCodes: [Swift.String : WeatherCore.CountryCode] var supportsVendingAddresses: Swift.Bool init(geocodeService: any WeatherCore.GeocodeServiceType, store: any WeatherCore.LocationMetadataStoreType) final var requiresShowingAddresses: Swift.Bool { get } final func addObserver(_: any WeatherCore.LocationMetadataManagerObserver) final func removeObserver(_: any WeatherCore.LocationMetadataManagerObserver) final func resolveAddress(for: WeatherCore.Location) -> TeaFoundation.Promise<Swift.String?> final func availableAddress(for: WeatherCore.Location) -> Swift.String? final func resolveCountryCode(for: WeatherCore.Location) -> TeaFoundation.Promise<WeatherCore.CountryCode> final func availableCountryCode(for: WeatherCore.Location.Identifier) -> WeatherCore.CountryCode? final func resolveDisplayRegion(for: WeatherCore.Location) -> TeaFoundation.Promise<WeatherCore.LocationDisplayRegion?> final func availableDisplayRegion(for: WeatherCore.Location) -> WeatherCore.LocationDisplayRegion? deinit }