SwiftclassUserNotificationsCore
NotificationSettingsProvider
@Observable class UserNotificationsCore.NotificationSettingsProvider
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolObservation.Observable
Members 11
- deinit
deinit - field
let _$observationRegistrar: Observation.ObservationRegistrar - field
var _protectedSettings: [UserNotificationsCore.NotificationSource : UNNotificationSettings]+0x40 - field
var _protectedSystemSettings: UNNotificationSystemSettings?+0x48 - field
let predicate: (((UserNotificationsCore.NotificationSource, UNNotificationSettings?)) -> Bool)?+0x50 - field
let settingsLock: NSRecursiveLock+0x38 - field
lazy var settingsService: (UserNotificationsCore.UserNotificationsSettingsProvider & UserNotificationsCore.UserNotificationsSourceProvider & UserNotificationsCore.UserNotificationsSystemSettingsProvider)? - field
var sources: [UserNotificationsCore.NotificationSource]+0x10 - init
UserNotificationsCore.NotificationSettingsProvider.__allocating_init((((UserNotificationsCore.NotificationSource, UNNotificationSettings?)) -> Bool)?) -> UserNotificationsCore.NotificationSettingsProvider - var
var settings: [UserNotificationsCore.NotificationSource : UNNotificationSettings] { get set } - var
var systemSettings: UNNotificationSystemSettings { get set }
Header
@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 }