SwiftclassNewsFeed
BundleSessionManager
class NewsFeed.BundleSessionManager
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolTeaFoundation.SceneStateMonitor
Members 25
- deinit
deinit - field
var _sceneIsActive: TeaFoundation.Atomic<Bool> - field
var _sessionCache: TeaFoundation.Atomic<NewsFeed.BundleSessionCache> - field
let appConfigurationManager: FCNewsAppConfigurationManager - field
var bundleSessionProvider: NewsFeed.BundleSessionProviderType - field
let bundleSubscriptionDetectionManager: NewsFeed.BundleSubscriptionDetectionManagerType - field
let bundleSubscriptionManager: FCBundleSubscriptionManagerType - field
let cachedBundleSessionKey: String - field
let familySharingStatusManager: NewsFeed.FamilySharingStatusManagerType - field
let featureAvailability: NewsFeed.FeatureAvailabilityType - field
let newsletterManager: FCNewsletterManager - field
let notificationCenter: UNUserNotificationCenter - field
var observers: [NewsFeed.BundleSessionManagerObserverProxy] - func
add(observer: NewsFeed.BundleSessionManagerObserver) -> () - func
bundleSubscriptionDetectionManager(_: NewsFeed.BundleSubscriptionDetectionManagerType, detectionTimestampDidChange: Foundation.Date?) -> () - func
didUpdateNewsletters(from: [FCNewsletter], to: [FCNewsletter]) -> () - func
newsletterSubscriptionChanged(from: FCNewsletterSubscription) -> () - func
refreshSession(with: FCBundleSubscription, trigger: NewsFeed.FeedRefreshTrigger?) async throws -> NewsFeed.BundleSession - func
remove(observer: NewsFeed.BundleSessionManagerObserver) -> () - func
sceneDidBecomeActive() -> () - func
sceneWillResignActive() -> () - func
userNotificationCenter(_: UNUserNotificationCenter, didChange: UNNotificationSettings) -> () - init
NewsFeed.BundleSessionManager.__allocating_init(bundleSessionProvider: NewsFeed.BundleSessionProviderType, newsletterManager: FCNewsletterManager, appConfigurationManager: FCNewsAppConfigurationManager, familySharingStatusManager: NewsFeed.FamilySharingStatusManagerType, featureAvailability: NewsFeed.FeatureAvailabilityType, bundleSubscriptionManager: FCBundleSubscriptionManagerType, bundleSubscriptionDetectionManager: NewsFeed.BundleSubscriptionDetectionManagerType, sceneManager: TeaFoundation.SceneStateManagerType) -> NewsFeed.BundleSessionManager - init
NewsFeed.BundleSessionManager.__allocating_init() -> NewsFeed.BundleSessionManager - var
final var cachedSession: NewsFeed.BundleSession? { get }
Header
class BundleSessionManager: __C.NSObject, __C.UNUserNotificationCenterDelegatePrivate, __C.FCNewsletterSubscriptionObserver { var observers: [NewsFeed.BundleSessionManagerObserverProxy] var bundleSessionProvider: any NewsFeed.BundleSessionProviderType let newsletterManager: any __C.FCNewsletterManager let appConfigurationManager: any __C.FCNewsAppConfigurationManager let familySharingStatusManager: any NewsFeed.FamilySharingStatusManagerType let featureAvailability: any NewsFeed.FeatureAvailabilityType let bundleSubscriptionManager: any __C.FCBundleSubscriptionManagerType let bundleSubscriptionDetectionManager: any NewsFeed.BundleSubscriptionDetectionManagerType let notificationCenter: __C.UNUserNotificationCenter let cachedBundleSessionKey: Swift.String // synthesized from the backing storage `_sessionCache`; the property's own accessors are stripped @TeaFoundation.Atomic var sessionCache: NewsFeed.BundleSessionCache { get set } // synthesized from the backing storage `_sceneIsActive`; the property's own accessors are stripped @TeaFoundation.Atomic var sceneIsActive: Swift.Bool { get set } init(bundleSessionProvider: any NewsFeed.BundleSessionProviderType, newsletterManager: any __C.FCNewsletterManager, appConfigurationManager: any __C.FCNewsAppConfigurationManager, familySharingStatusManager: any NewsFeed.FamilySharingStatusManagerType, featureAvailability: any NewsFeed.FeatureAvailabilityType, bundleSubscriptionManager: any __C.FCBundleSubscriptionManagerType, bundleSubscriptionDetectionManager: any NewsFeed.BundleSubscriptionDetectionManagerType, sceneManager: any TeaFoundation.SceneStateManagerType) init() final var cachedSession: NewsFeed.BundleSession? { get } final func bundleSubscriptionDetectionManager(_: any NewsFeed.BundleSubscriptionDetectionManagerType, detectionTimestampDidChange: Foundation.Date?) final func refreshSession(with: __C.FCBundleSubscription, trigger: NewsFeed.FeedRefreshTrigger?) async throws -> NewsFeed.BundleSession @objc func didUpdateNewsletters(from: [__C.FCNewsletter], to: [__C.FCNewsletter]) final func sceneDidBecomeActive() final func sceneWillResignActive() final func userNotificationCenter(_: __C.UNUserNotificationCenter, didChange: __C.UNNotificationSettings) final func newsletterSubscriptionChanged(from: __C.FCNewsletterSubscription) final func add(observer: any NewsFeed.BundleSessionManagerObserver) final func remove(observer: any NewsFeed.BundleSessionManagerObserver) deinit }