SwiftclassUserNotificationsCore

@Observable class UserNotificationsCore.NotificationSettingsProvider

Structure

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

inherits{}

Members 11

  1. deinitdeinit
  2. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  3. fieldvar _protectedSettings: [UserNotificationsCore.NotificationSource : UNNotificationSettings]+0x40
  4. fieldvar _protectedSystemSettings: UNNotificationSystemSettings?+0x48
  5. fieldlet predicate: (((UserNotificationsCore.NotificationSource, UNNotificationSettings?)) -> Bool)?+0x50
  6. fieldlet settingsLock: NSRecursiveLock+0x38
  7. fieldlazy var settingsService: (UserNotificationsCore.UserNotificationsSettingsProvider & UserNotificationsCore.UserNotificationsSourceProvider & UserNotificationsCore.UserNotificationsSystemSettingsProvider)?
  8. fieldvar sources: [UserNotificationsCore.NotificationSource]+0x10
  9. initUserNotificationsCore.NotificationSettingsProvider.__allocating_init((((UserNotificationsCore.NotificationSource, UNNotificationSettings?)) -> Bool)?) -> UserNotificationsCore.NotificationSettingsProvider
  10. varvar settings: [UserNotificationsCore.NotificationSource : UNNotificationSettings] { get set }
  11. varvar systemSettings: UNNotificationSystemSettings { get set }
@Observation.Observable
class NotificationSettingsProvider {
    struct Monitor {
        struct Iterator {
            var _iterator: Swift.AsyncStream<[UserNotificationsCore.NotificationSource : __C.UNNotificationSettings?]>.Iterator

            func next() async throws -> [UserNotificationsCore.NotificationSource : __C.UNNotificationSettings?]?
        }
        // Local type in a function or closure the binary does not name
        class Tracking {
            var previous: [UserNotificationsCore.NotificationSource : __C.UNNotificationSettings]
            var updated: [UserNotificationsCore.NotificationSource : __C.UNNotificationSettings]
        }
        var settingsProvider: UserNotificationsCore.NotificationSettingsProvider?

        func makeAsyncIterator() -> UserNotificationsCore.NotificationSettingsProvider.Monitor.Iterator

        static func allMatching(_: @escaping ((UserNotificationsCore.NotificationSource, __C.UNNotificationSettings?)) -> Swift.Bool) -> UserNotificationsCore.NotificationSettingsProvider.Monitor
        static func all() -> UserNotificationsCore.NotificationSettingsProvider.Monitor
    }
    @Observation.ObservationIgnored
    var sources: [UserNotificationsCore.NotificationSource]
    @Observation.ObservationIgnored
    lazy var settingsService: (any UserNotificationsCore.UserNotificationsSettingsProvider & UserNotificationsCore.UserNotificationsSourceProvider & UserNotificationsCore.UserNotificationsSystemSettingsProvider)?
    let settingsLock: __C.NSRecursiveLock
    // synthesized from the storage `_protectedSettings` that @Observable generated; the property's own accessors are stripped
    var protectedSettings: [UserNotificationsCore.NotificationSource : __C.UNNotificationSettings]
    // synthesized from the storage `_protectedSystemSettings` that @Observable generated; the property's own accessors are stripped
    var protectedSystemSettings: __C.UNNotificationSystemSettings?
    let predicate: (((UserNotificationsCore.NotificationSource, __C.UNNotificationSettings?)) -> Swift.Bool)?

    var settings: [UserNotificationsCore.NotificationSource : __C.UNNotificationSettings] {
        get
        set
    }
    var systemSettings: __C.UNNotificationSystemSettings {
        get
        set
    }
    init(_: (((UserNotificationsCore.NotificationSource, __C.UNNotificationSettings?)) -> Swift.Bool)?)

    deinit
}