SwiftclassWeatherCore

class WeatherCore.LocationMetadataManager

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 17

  1. deinitdeinit
  2. fieldvar countryCodes: [String : WeatherCore.CountryCode]+0x40
  3. fieldlet geocodeService: WeatherCore.GeocodeServiceType+0x10
  4. fieldlet lock: TeaFoundation.UnfairLock+0x20
  5. fieldvar observers: [WeatherCore.CountryCodeManagerObserverProxy]+0x28
  6. fieldvar store: WeatherCore.LocationMetadataStoreType+0x30
  7. fieldvar supportsVendingAddresses: Bool+0x48
  8. funcaddObserver(WeatherCore.LocationMetadataManagerObserver) -> ()
  9. funcavailableAddress(for: WeatherCore.Location) -> String?
  10. funcavailableCountryCode(for: WeatherCore.Location.Identifier) -> WeatherCore.CountryCode?
  11. funcavailableDisplayRegion(for: WeatherCore.Location) -> WeatherCore.LocationDisplayRegion?
  12. funcremoveObserver(WeatherCore.LocationMetadataManagerObserver) -> ()
  13. funcresolveAddress(for: WeatherCore.Location) -> TeaFoundation.Promise<String?>
  14. funcresolveCountryCode(for: WeatherCore.Location) -> TeaFoundation.Promise<WeatherCore.CountryCode>
  15. funcresolveDisplayRegion(for: WeatherCore.Location) -> TeaFoundation.Promise<WeatherCore.LocationDisplayRegion?>
  16. initWeatherCore.LocationMetadataManager.__allocating_init(geocodeService: WeatherCore.GeocodeServiceType, store: WeatherCore.LocationMetadataStoreType) -> WeatherCore.LocationMetadataManager
  17. varfinal var requiresShowingAddresses: Bool { get }
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
}