SwiftclassAppStoreKit

class AppStoreKit.UserNotificationsManager

Members 20

  1. varstatic var appEventIdKey: String { get }
  2. varstatic var sourceViewKey: String { get }
  3. varstatic var userNotificationsDidChangeNotification: NSNotificationName { get }
  4. deinitdeinit
  5. fieldlet accountStore: ACAccountStore+0x20
  6. fieldvar activeStoreAccount: ACAccount?+0x28
  7. fieldlet bag: AppStoreKit.ASKBagContract+0x18
  8. fieldlet cacheService: AMSServerDataCacheService+0x38
  9. fieldlet cacheServiceAccessQueue: OS_dispatch_queue+0x40
  10. fieldvar cachedAppEventIdsBox: AppStoreKit.Box<Set<String>>+0x50
  11. fieldlet notificationCenterAccessQueue: OS_dispatch_queue+0x48
  12. fieldlet objectGraph: JetEngine.BaseObjectGraph+0x10
  13. fieldlet rootViewController: UIViewController+0x30
  14. fieldvar userAddedAppEventIdsBox: AppStoreKit.Box<Set<String>>+0x58
  15. fieldvar userRemovedAppEventIdsBox: AppStoreKit.Box<Set<String>>+0x60
  16. funccancelScheduledNotification(with: AppStoreKit.AppEventNotificationConfig, from: AnyObject?) -> JetEngine.Promise<AppStoreKit.UserNotificationsManager.SchedulingResult>
  17. funcgetIsAuthorized() -> JetEngine.Promise<Bool>
  18. funchasScheduledNotification(with: AppStoreKit.AppEventNotificationConfig) -> Bool
  19. funcscheduleNotification(with: AppStoreKit.AppEventNotificationConfig, from: AnyObject?) -> JetEngine.Promise<AppStoreKit.UserNotificationsManager.SchedulingResult>
  20. initAppStoreKit.UserNotificationsManager.__allocating_init(objectGraph: JetEngine.BaseObjectGraph, rootViewController: UIViewController) -> AppStoreKit.UserNotificationsManager
class UserNotificationsManager {
    enum SchedulingResult {
        case scheduleChanged
        case scheduleAlreadyExists
        case signInDidNotComplete
    }
    enum SchedulingError {
        case rootViewControllerNotInWindowHierarchy
        case selfDeallocated
        case notSupported
    }
    let objectGraph: JetEngine.BaseObjectGraph
    let bag: AppStoreKit.ASKBagContract
    let accountStore: __C.ACAccountStore
    var activeStoreAccount: __C.ACAccount?
    let rootViewController: __C.UIViewController
    let cacheService: __C.AMSServerDataCacheService
    let cacheServiceAccessQueue: __C.OS_dispatch_queue
    let notificationCenterAccessQueue: __C.OS_dispatch_queue
    var cachedAppEventIdsBox: AppStoreKit.Box<Swift.Set<Swift.String>>
    var userAddedAppEventIdsBox: AppStoreKit.Box<Swift.Set<Swift.String>>
    var userRemovedAppEventIdsBox: AppStoreKit.Box<Swift.Set<Swift.String>>

    init(objectGraph: JetEngine.BaseObjectGraph, rootViewController: __C.UIViewController)

    final func getIsAuthorized() -> JetEngine.Promise<Swift.Bool>
    final func scheduleNotification(with: AppStoreKit.AppEventNotificationConfig, from: Swift.AnyObject?) -> JetEngine.Promise<AppStoreKit.UserNotificationsManager.SchedulingResult>
    final func hasScheduledNotification(with: AppStoreKit.AppEventNotificationConfig) -> Swift.Bool
    final func cancelScheduledNotification(with: AppStoreKit.AppEventNotificationConfig, from: Swift.AnyObject?) -> JetEngine.Promise<AppStoreKit.UserNotificationsManager.SchedulingResult>

    static var appEventIdKey: Swift.String {
        get
    }
    static var sourceViewKey: Swift.String {
        get
    }
    static var userNotificationsDidChangeNotification: __C.NSNotificationName {
        get
    }

    deinit
}