SwiftactorWeatherCore
NotificationSubscriptionManager
actor WeatherCore.NotificationSubscriptionManager
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
Members 33
- deinit
deinit - field
var $defaultActor: Builtin.DefaultActorStorage+0x10 - field
let hashSaltProviderProvider: WeatherCore.HashSaltProviderType+0x128 - field
let keyValueStoreNotificationSubscriptionManager: WeatherCore.KeyValueStoreNotificationSubscriptionManagerType+0xa0 - field
let legacyNotificationSubscriptionManager: WeatherCore.LegacyNotificationSubscriptionManagerType+0x78 - field
let localKeyValueStore: WeatherCore.KeyValueStoreType+0xc8 - field
let logger: OS_os_log+0xf8 - field
var migrationStatus: WeatherCore.NotificationSubscriptionMigrationStatus+0x100 - field
lazy var migrationTask: Task<(), Never>? - field
var observers: [WeatherCore.NotificationSubscriptionManagerObserver]+0x70 - field
var performMigration: Bool+0x150 - field
var shouldUseLegacyNotificationSubscriptionManager: Bool+0xf0 - func
addObserver(WeatherCore.NotificationSubscriptionManagerObserver) async -> () - func
migrateSubscriptionIfNeeded() async -> () - func
predictedLocationsSubscription() -> WeatherCore.PredictedLocationsNotificationSubscription - func
removeObserver(WeatherCore.NotificationSubscriptionManagerObserver) async -> () - func
resubscribedAfterDeviceRestoreOnce() -> Bool - func
saltDidChange(WeatherCore.HashSaltProvider) -> () - func
setResubscribedAfterDeviceRestoreOnce() -> () - func
subscribe(to: WeatherCore.NotificationSubscription.Kind, for: WeatherCore.NotificationSubscription.Location) async throws -> () - func
subscribeToPredictedLocations(for: WeatherCore.PredictedLocationsNotificationSubscription.Kind) -> () - func
subscribed(_: WeatherCore.NotificationSubscriptionManagerType, locationIdentifier: WeatherCore.Location.Identifier) -> () - func
subscription(with: String) async throws -> WeatherCore.NotificationSubscription? - func
subscriptions(of: WeatherCore.NotificationSubscription.Kind) async throws -> [WeatherCore.NotificationSubscription] - func
unsubscribe(from: WeatherCore.NotificationSubscription.Kind, for: WeatherCore.Location.Identifier) async throws -> () - func
unsubscribe() async -> () - func
unsubscribeToPredictedLocations(for: WeatherCore.PredictedLocationsNotificationSubscription.Kind) -> () - func
unsubscribed(_: WeatherCore.NotificationSubscriptionManagerType, locationIdentifier: WeatherCore.Location.Identifier) -> () - func
updateSubscription(for: WeatherCore.NotificationSubscription.Location) async throws -> () - init
WeatherCore.NotificationSubscriptionManager.__allocating_init(legacyNotificationSubscriptionManager: WeatherCore.LegacyNotificationSubscriptionManagerType, keyValueStoreNotificationSubscriptionManager: WeatherCore.KeyValueStoreNotificationSubscriptionManagerType, localKeyValueStore: WeatherCore.KeyValueStoreType, secretKeyProvider: WeatherCore.HashSaltProviderType, performMigration: Bool) -> WeatherCore.NotificationSubscriptionManager - var
var isSubscriptionAvailable: Bool { get } - var
var unownedExecutor: UnownedSerialExecutor { get } - var
var useSuggestedLocationsEnabled: Bool { get set }
Header
actor NotificationSubscriptionManager { enum DefaultsKeys { static var predictedLocationsSevereNotifications: Swift.String { get } static var resubscribedAfterDeviceRestoreOnce: Swift.String { get } static var useSuggestedLocationsEnabled: Swift.String { get } } var observers: [any WeatherCore.NotificationSubscriptionManagerObserver] let legacyNotificationSubscriptionManager: any WeatherCore.LegacyNotificationSubscriptionManagerType let keyValueStoreNotificationSubscriptionManager: any WeatherCore.KeyValueStoreNotificationSubscriptionManagerType let localKeyValueStore: any WeatherCore.KeyValueStoreType var shouldUseLegacyNotificationSubscriptionManager: Swift.Bool let logger: __C.OS_os_log var migrationStatus: WeatherCore.NotificationSubscriptionMigrationStatus let hashSaltProviderProvider: any WeatherCore.HashSaltProviderType var performMigration: Swift.Bool lazy var migrationTask: Swift.Task<(), Swift.Never>? init(legacyNotificationSubscriptionManager: any WeatherCore.LegacyNotificationSubscriptionManagerType, keyValueStoreNotificationSubscriptionManager: any WeatherCore.KeyValueStoreNotificationSubscriptionManagerType, localKeyValueStore: any WeatherCore.KeyValueStoreType, secretKeyProvider: any WeatherCore.HashSaltProviderType, performMigration: Swift.Bool) var isSubscriptionAvailable: Swift.Bool { get } var unownedExecutor: Swift.UnownedSerialExecutor { get } var useSuggestedLocationsEnabled: Swift.Bool { get set } func predictedLocationsSubscription() -> WeatherCore.PredictedLocationsNotificationSubscription func updateSubscription(for: WeatherCore.NotificationSubscription.Location) async throws func migrateSubscriptionIfNeeded() async func subscribed(_: any WeatherCore.NotificationSubscriptionManagerType, locationIdentifier: WeatherCore.Location.Identifier) func addObserver(_: any WeatherCore.NotificationSubscriptionManagerObserver) async func unsubscribe(from: WeatherCore.NotificationSubscription.Kind, for: WeatherCore.Location.Identifier) async throws func unsubscribe() async func subscription(with: Swift.String) async throws -> WeatherCore.NotificationSubscription? func unsubscribed(_: any WeatherCore.NotificationSubscriptionManagerType, locationIdentifier: WeatherCore.Location.Identifier) func saltDidChange(_: WeatherCore.HashSaltProvider) func subscriptions(of: WeatherCore.NotificationSubscription.Kind) async throws -> [WeatherCore.NotificationSubscription] func removeObserver(_: any WeatherCore.NotificationSubscriptionManagerObserver) async func subscribeToPredictedLocations(for: WeatherCore.PredictedLocationsNotificationSubscription.Kind) func unsubscribeToPredictedLocations(for: WeatherCore.PredictedLocationsNotificationSubscription.Kind) func resubscribedAfterDeviceRestoreOnce() -> Swift.Bool func setResubscribedAfterDeviceRestoreOnce() func subscribe(to: WeatherCore.NotificationSubscription.Kind, for: WeatherCore.NotificationSubscription.Location) async throws deinit }