SwiftclassNewsFeed

class NewsFeed.BundleSessionManager

Structure

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

Members 25

  1. deinitdeinit
  2. fieldvar _sceneIsActive: TeaFoundation.Atomic<Bool>
  3. fieldvar _sessionCache: TeaFoundation.Atomic<NewsFeed.BundleSessionCache>
  4. fieldlet appConfigurationManager: FCNewsAppConfigurationManager
  5. fieldvar bundleSessionProvider: NewsFeed.BundleSessionProviderType
  6. fieldlet bundleSubscriptionDetectionManager: NewsFeed.BundleSubscriptionDetectionManagerType
  7. fieldlet bundleSubscriptionManager: FCBundleSubscriptionManagerType
  8. fieldlet cachedBundleSessionKey: String
  9. fieldlet familySharingStatusManager: NewsFeed.FamilySharingStatusManagerType
  10. fieldlet featureAvailability: NewsFeed.FeatureAvailabilityType
  11. fieldlet newsletterManager: FCNewsletterManager
  12. fieldlet notificationCenter: UNUserNotificationCenter
  13. fieldvar observers: [NewsFeed.BundleSessionManagerObserverProxy]
  14. funcadd(observer: NewsFeed.BundleSessionManagerObserver) -> ()
  15. funcbundleSubscriptionDetectionManager(_: NewsFeed.BundleSubscriptionDetectionManagerType, detectionTimestampDidChange: Foundation.Date?) -> ()
  16. funcdidUpdateNewsletters(from: [FCNewsletter], to: [FCNewsletter]) -> ()
  17. funcnewsletterSubscriptionChanged(from: FCNewsletterSubscription) -> ()
  18. funcrefreshSession(with: FCBundleSubscription, trigger: NewsFeed.FeedRefreshTrigger?) async throws -> NewsFeed.BundleSession
  19. funcremove(observer: NewsFeed.BundleSessionManagerObserver) -> ()
  20. funcsceneDidBecomeActive() -> ()
  21. funcsceneWillResignActive() -> ()
  22. funcuserNotificationCenter(_: UNUserNotificationCenter, didChange: UNNotificationSettings) -> ()
  23. initNewsFeed.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
  24. initNewsFeed.BundleSessionManager.__allocating_init() -> NewsFeed.BundleSessionManager
  25. varfinal var cachedSession: NewsFeed.BundleSession? { get }
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
}