Objective-CclassStoreKitUI
SKUIItemStateCenter
@interface SKUIItemStateCenter : NSObject <SSDownloadManagerObserver, ASDJobManagerObserver, BLDownloadQueueObserving>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolSSDownloadManagerObserver
- protocolASDJobManagerObserver
- protocolBLDownloadQueueObserving
Members 135
- method
+ (id)defaultCenter; - ivar
NSObject<OS_dispatch_queue> *_accessQueue;+0x8 - ivar
BOOL _appInstallRestricted+0x10 - ivar
ASDSoftwareUpdatesStore *_appstoredUpdatesStore;+0x18 - ivar
BOOL _canAccessAppUpdates+0x28 - ivar
BOOL _canAccessPurchaseHistory+0x29 - ivar
SSDownloadManager *_downloadManager;+0x30 - ivar
NSMutableArray *_finishLoadBlocks;+0x38 - ivar
long long _gratisState;+0x40 - ivar
NSDate *_gratisStateLastUpdate;+0x48 - ivar
NSMutableDictionary *_itemStates;+0x58 - ivar
ASDJobManager *_jobManager;+0x20 - ivar
long long _loadCount;+0x50 - ivar
NSMutableArray *_mediaLibraries;+0x68 - ivar
NSObject<OS_dispatch_queue> *_mediaLibraryQueue;+0x60 - ivar
NSCountedSet *_observedLibraryItems;+0x70 - ivar
NSObject<OS_dispatch_queue> *_observerQueue;+0x78 - ivar
NSHashTable *_observers;+0x80 - ivar
long long _parentalControlsRank;+0x88 - ivar
SSAppPurchaseHistoryDatabase *_purchaseHistoryDatabase;+0x90 - ivar
SKUIStoreItemRelationshipCounsellor *_relationshipCouncellor;+0x98 - ivar
BOOL _runningInStoreDemoMode+0xa0 - method
- (void).cxx_destruct; - method
- (id)_addState:(unsigned long long)arg0 forItemIdentifier:(id)arg1; - method
- (id)_appstoredUpdatesStore; - method
- (void)_appstoredUpdatesStoreChangeNotification:(id)arg0; - method
- (id)_copyItemsStatesForLibraryItems:(id)arg0; - method
- (id)_downloadPhaseForJobPhase:(long long)arg0; - method
- (void)_enumerateAvailableItemsForLibraryItems:(id)arg0 usingBlock:(id /* block */)arg1; - method
- (void)_fireFinishLoadBlocksIfNecessary; - method
- (BOOL)_gratisStateIsValid; - method
- (BOOL)_isPurchaseForOffDeviceContent:(id)arg0; - method
- (id)_jobManager; - method
- (void)_mediaLibraryDidChangeNotification:(id)arg0; - method
- (id)_newPurchaseWithItem:(id)arg0 offer:(id)arg1; - method
- (id)_newPurchasesForSoftwareWithBundleItem:(id)arg0 bundleOffer:(id)arg1; - method
- (id)_newPurchasesWithBundleItem:(id)arg0 bundleOffer:(id)arg1; - method
- (id)_newPurchasesWithItems:(id)arg0; - method
- (id)_newSoftwarePurchaseWithItem:(id)arg0 offer:(id)arg1; - method
- (void)_notifyObserversOfMediaLibraryChange; - method
- (void)_notifyObserversOfPurchasesResponses:(id)arg0; - method
- (void)_notifyObserversOfRestrictionsChange; - method
- (void)_notifyObserversOfSoftwarePurchasesResponses:(id)arg0; - method
- (void)_notifyObserversOfStateChange:(id)arg0; - method
- (void)_notifyObserversOfStateChanges:(id)arg0; - method
- (void)_performPurchases:(id)arg0 hasBundlePurchase:(BOOL)arg1 withClientContext:(id)arg2 completionBlock:(id /* block */)arg3; - method
- (void)_performSoftwarePurchases:(id)arg0 withClientContext:(id)arg1 completionBlock:(id /* block */)arg2; - method
- (id)_purchaseHistoryDatabase; - method
- (void)_reloadAppUpdatesStore; - method
- (void)_reloadDownloadManager; - method
- (void)_reloadJobManager; - method
- (void)_reloadMediaLibraryStateForItems:(id)arg0; - method
- (void)_reloadPurchaseHistory; - method
- (void)_reloadSoftwareLibrary; - method
- (void)_reloadStateForObservedMediaLibraryItems; - method
- (void)_removePurchasingItemsForPurchases:(id)arg0; - method
- (id)_removeState:(unsigned long long)arg0 forItemIdentifier:(id)arg1; - method
- (void)_replacePurchasingItem:(id)arg0 withDownloadIDs:(id)arg1; - method
- (void)_restrictionsChangedNotification:(id)arg0; - method
- (void)_setAvailableAppstoredUpdatesWithUpdates:(id)arg0 decrementLoadCount:(BOOL)arg1; - method
- (void)_setDownloads:(id)arg0; - method
- (void)_setFirstPartyRemovableItemsIdentifiers:(id)arg0; - method
- (void)_setGratisIdentifiers:(id)arg0 error:(id)arg1; - method
- (void)_setInstalledItems:(id)arg0; - method
- (void)_setJobs:(id)arg0; - method
- (void)_setPurchaseHistoryItemsWithIdentifiers:(id)arg0; - method
- (void)_setPurchaseHistoryVPPItemsWithIdentifiers:(id)arg0; - method
- (id)_setStateFlag:(unsigned long long)arg0 forItemsWithIdentifiers:(id)arg1 sendNotification:(BOOL)arg2; - method
- (id)_setStateFlag:(unsigned long long)arg0 forOnlyItemsWithIdentifiers:(id)arg1 sendNotification:(BOOL)arg2; - method
- (void)_storefrontDidChangeNotification:(id)arg0; - method
- (void)_updatesSoftwarePurchasingItemsForPurchases:(id)arg0 purchaseWasSuccessful:(BOOL)arg1; - method
- (void)_updatesStoreChangeNotification:(id)arg0; - method
- (void)addDownloads:(id)arg0; - method
- (void)addManifestDownloadWithURL:(id)arg0 placeholderMetadata:(id)arg1; - method
- (void)addMediaLibrary:(id)arg0; - method
- (void)addObserver:(id)arg0; - method
- (void)addRelationshipForParentAdamId:(id)arg0 withChildAdamIds:(id)arg1; - method
- (id)appUpdatesStore; - method
- (id)appstoredUpdatesStore; - method
- (void)beginObservingLibraryItems:(id)arg0; - method
- (void)cancelDownloadForItemWithIdentifier:(long long)arg0; - method
- (void)dealloc; - method
- (void)downloadManager:(id)arg0 downloadStatesDidChange:(id)arg1; - method
- (void)downloadManagerDownloadsDidChange:(id)arg0; - method
- (void)downloadQueue:(id)arg0 downloadStates:(id)arg1 didCompleteWithError:(id)arg2; - method
- (void)downloadQueue:(id)arg0 downloadStatesDidChange:(id)arg1; - method
- (void)endObservingLibraryItems:(id)arg0; - method
- (void)evaluatePurchaseResponseForRentals:(id)arg0; - method
- (void)findLibraryItemsForContentIdentifiers:(id)arg0 options:(id)arg1 completionBlock:(id /* block */)arg2; - method
- (void)finishLoadingWithCompletionBlock:(id /* block */)arg0; - method
- (void)getSoftwareUpdatesWithCompletionBlock:(id /* block */)arg0; - method
- (void)getUpdatesWithCompletionBlock:(id /* block */)arg0; - method
- (id)gratisEligibleItemIdentifiers; - method
- (id)init; - method
- (BOOL)isApplicationInstallRestricted; - method
- (BOOL)isGratisEligible; - method
- (BOOL)isItemRestrictedWithParentalControlsRank:(long long)arg0; - method
- (BOOL)isRunningInStoreDemoMode; - method
- (void)jobManager:(id)arg0 changedJobs:(id)arg1; - method
- (void)jobManager:(id)arg0 completedJobs:(id)arg1; - method
- (void)jobManager:(id)arg0 updatedProgressOfJobs:(id)arg1; - method
- (void)jobManager:(id)arg0 updatedStateOfJobs:(id)arg1; - method
- (id)metricsActionTypeForItem:(id)arg0; - method
- (long long)parentalControlsRank; - method
- (id)performActionForItem:(id)arg0 clientContext:(id)arg1; - method
- (id)performActionForItem:(id)arg0 clientContext:(id)arg1 completionBlock:(id /* block */)arg2; - method
- (id)performActionForItem:(id)arg0 offer:(id)arg1 clientContext:(id)arg2 completionBlock:(id /* block */)arg3; - method
- (id)performActionForItem:(id)arg0 withCompletionBlock:(id /* block */)arg1; - method
- (void)performActionForLibraryItem:(id)arg0; - method
- (id)performActionForSoftwareItem:(id)arg0 offer:(id)arg1 clientContext:(id)arg2 completionBlock:(id /* block */)arg3; - method
- (void)purchaseItem:(id)arg0 offer:(id)arg1 clientContext:(id)arg2 completionBlock:(id /* block */)arg3; - method
- (void)purchaseItems:(id)arg0 withClientContext:(id)arg1 completionBlock:(id /* block */)arg2; - method
- (void)purchaseItems:(id)arg0 withCompletionBlock:(id /* block */)arg1; - method
- (void)purchaseSoftwareItem:(id)arg0 offer:(id)arg1 clientContext:(id)arg2 completionBlock:(id /* block */)arg3; - method
- (void)purchaseTone:(id)arg0 withProperties:(id)arg1 clientContext:(id)arg2 completionBlock:(id /* block */)arg3; - method
- (void)reloadFromServer; - method
- (void)reloadFromServerWithCompletionBlock:(id /* block */)arg0; - method
- (void)reloadGratisEligibilityWithBundleIdentifiers:(id)arg0 clientContext:(id)arg1; - method
- (void)reloadMediaLibrary:(id)arg0; - method
- (void)reloadSoftwareUpdatesFromServerWithCompletionBlock:(id /* block */)arg0; - method
- (void)removeMediaLibrary:(id)arg0; - method
- (void)removeObserver:(id)arg0; - method
- (void)removeRelationshipsForParentAdamId:(id)arg0; - method
- (id)stateForItemWithIdentifier:(long long)arg0; - method
- (id)stateForItemWithStoreIdentifier:(id)arg0; - property
@property(readonly) SSSoftwareUpdatesStore *appUpdatesStore; - property
@property(getter=isApplicationInstallRestricted, readonly) BOOL applicationInstallRestricted; - property
@property(readonly) ASDSoftwareUpdatesStore *appstoredUpdatesStore; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly, copy) NSString *description; - property
@property(getter=isGratisEligible, readonly, nonatomic) BOOL gratisEligible; - property
@property(readonly) unsigned long long hash; - property
@property(readonly) long long parentalControlsRank; - property
@property(getter=isRunningInStoreDemoMode, readonly) BOOL runningInStoreDemoMode; - property
@property(readonly) Class superclass;
Header
@interface SKUIItemStateCenter : NSObject <SSDownloadManagerObserver, ASDJobManagerObserver, BLDownloadQueueObserving> { NSObject<OS_dispatch_queue> *_accessQueue; BOOL _appInstallRestricted; ASDSoftwareUpdatesStore *_appstoredUpdatesStore; ASDJobManager *_jobManager; BOOL _canAccessAppUpdates; BOOL _canAccessPurchaseHistory; SSDownloadManager *_downloadManager; NSMutableArray *_finishLoadBlocks; long long _gratisState; NSDate *_gratisStateLastUpdate; long long _loadCount; NSMutableDictionary *_itemStates; NSObject<OS_dispatch_queue> *_mediaLibraryQueue; NSMutableArray *_mediaLibraries; NSCountedSet *_observedLibraryItems; NSObject<OS_dispatch_queue> *_observerQueue; NSHashTable *_observers; long long _parentalControlsRank; SSAppPurchaseHistoryDatabase *_purchaseHistoryDatabase; SKUIStoreItemRelationshipCounsellor *_relationshipCouncellor; BOOL _runningInStoreDemoMode; } @property (readonly) SSSoftwareUpdatesStore *appUpdatesStore; @property (readonly) ASDSoftwareUpdatesStore *appstoredUpdatesStore; @property (getter=isApplicationInstallRestricted, readonly) BOOL applicationInstallRestricted; @property (nonatomic, getter=isGratisEligible, readonly) BOOL gratisEligible; @property (readonly) long long parentalControlsRank; @property (getter=isRunningInStoreDemoMode, readonly) BOOL runningInStoreDemoMode; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; + (id)defaultCenter; - (BOOL)isRunningInStoreDemoMode; - (void)addObserver:(id)addObserver; - (void)removeObserver:(id)removeObserver; - (void).cxx_destruct; - (void)dealloc; - (void)downloadQueue:(id)downloadQueue downloadStatesDidChange:(id)downloadStatesDidChange; - (id)init; - (void)downloadQueue:(id)downloadQueue downloadStates:(id)downloadStates didCompleteWithError:(id)error; - (void)_mediaLibraryDidChangeNotification:(id)_mediaLibraryDidChangeNotification; - (void)addDownloads:(id)addDownloads; - (void)downloadManager:(id)downloadManager downloadStatesDidChange:(id)downloadStatesDidChange; - (void)downloadManagerDownloadsDidChange:(id)downloadManagerDownloadsDidChange; - (void)reloadFromServer; - (void)_setDownloads:(id)downloads; - (void)getUpdatesWithCompletionBlock:(id /* block */)completionBlock; - (void)jobManager:(id)jobManager changedJobs:(id)changedJobs; - (void)jobManager:(id)jobManager completedJobs:(id)completedJobs; - (void)jobManager:(id)jobManager updatedProgressOfJobs:(id)jobs; - (void)jobManager:(id)jobManager updatedStateOfJobs:(id)jobs; - (long long)parentalControlsRank; - (void)reloadFromServerWithCompletionBlock:(id /* block */)completionBlock; - (void)_notifyObserversOfStateChanges:(id)stateChanges; - (id)appUpdatesStore; - (BOOL)_isPurchaseForOffDeviceContent:(id)offDeviceContent; - (id)_removeState:(unsigned long long)_removeState forItemIdentifier:(id)forItemIdentifier; - (id)_addState:(unsigned long long)_addState forItemIdentifier:(id)forItemIdentifier; - (id)_appstoredUpdatesStore; - (void)_appstoredUpdatesStoreChangeNotification:(id)_appstoredUpdatesStoreChangeNotification; - (id)_copyItemsStatesForLibraryItems:(id)libraryItems; - (id)_downloadPhaseForJobPhase:(long long)jobPhase; - (void)_enumerateAvailableItemsForLibraryItems:(id)libraryItems usingBlock:(id /* block */)usingBlock; - (void)_fireFinishLoadBlocksIfNecessary; - (BOOL)_gratisStateIsValid; - (id)_jobManager; - (id)_newPurchaseWithItem:(id)item offer:(id)offer; - (id)_newPurchasesForSoftwareWithBundleItem:(id)bundleItem bundleOffer:(id)bundleOffer; - (id)_newPurchasesWithBundleItem:(id)bundleItem bundleOffer:(id)bundleOffer; - (id)_newPurchasesWithItems:(id)items; - (id)_newSoftwarePurchaseWithItem:(id)item offer:(id)offer; - (void)_notifyObserversOfMediaLibraryChange; - (void)_notifyObserversOfPurchasesResponses:(id)purchasesResponses; - (void)_notifyObserversOfRestrictionsChange; - (void)_notifyObserversOfSoftwarePurchasesResponses:(id)softwarePurchasesResponses; - (void)_notifyObserversOfStateChange:(id)stateChange; - (void)_performPurchases:(id)_performPurchases hasBundlePurchase:(BOOL)hasBundlePurchase withClientContext:(id)withClientContext completionBlock:(id /* block */)completionBlock; - (void)_performSoftwarePurchases:(id)_performSoftwarePurchases withClientContext:(id)withClientContext completionBlock:(id /* block */)completionBlock; - (id)_purchaseHistoryDatabase; - (void)_reloadAppUpdatesStore; - (void)_reloadDownloadManager; - (void)_reloadJobManager; - (void)_reloadMediaLibraryStateForItems:(id)items; - (void)_reloadPurchaseHistory; - (void)_reloadSoftwareLibrary; - (void)_reloadStateForObservedMediaLibraryItems; - (void)_removePurchasingItemsForPurchases:(id)purchases; - (void)_replacePurchasingItem:(id)_replacePurchasingItem withDownloadIDs:(id)withDownloadIDs; - (void)_restrictionsChangedNotification:(id)_restrictionsChangedNotification; - (void)_setAvailableAppstoredUpdatesWithUpdates:(id)updates decrementLoadCount:(BOOL)decrementLoadCount; - (void)_setFirstPartyRemovableItemsIdentifiers:(id)firstPartyRemovableItemsIdentifiers; - (void)_setGratisIdentifiers:(id)gratisIdentifiers error:(id)error; - (void)_setInstalledItems:(id)installedItems; - (void)_setJobs:(id)jobs; - (void)_setPurchaseHistoryItemsWithIdentifiers:(id)identifiers; - (void)_setPurchaseHistoryVPPItemsWithIdentifiers:(id)identifiers; - (id)_setStateFlag:(unsigned long long)stateFlag forItemsWithIdentifiers:(id)identifiers sendNotification:(BOOL)sendNotification; - (id)_setStateFlag:(unsigned long long)stateFlag forOnlyItemsWithIdentifiers:(id)identifiers sendNotification:(BOOL)sendNotification; - (void)_storefrontDidChangeNotification:(id)_storefrontDidChangeNotification; - (void)_updatesSoftwarePurchasingItemsForPurchases:(id)purchases purchaseWasSuccessful:(BOOL)purchaseWasSuccessful; - (void)_updatesStoreChangeNotification:(id)_updatesStoreChangeNotification; - (void)addManifestDownloadWithURL:(id)uRL placeholderMetadata:(id)placeholderMetadata; - (void)addMediaLibrary:(id)addMediaLibrary; - (void)addRelationshipForParentAdamId:(id)parentAdamId withChildAdamIds:(id)withChildAdamIds; - (id)appstoredUpdatesStore; - (void)beginObservingLibraryItems:(id)beginObservingLibraryItems; - (void)cancelDownloadForItemWithIdentifier:(long long)identifier; - (void)endObservingLibraryItems:(id)endObservingLibraryItems; - (void)evaluatePurchaseResponseForRentals:(id)rentals; - (void)findLibraryItemsForContentIdentifiers:(id)contentIdentifiers options:(id)options completionBlock:(id /* block */)completionBlock; - (void)finishLoadingWithCompletionBlock:(id /* block */)completionBlock; - (void)getSoftwareUpdatesWithCompletionBlock:(id /* block */)completionBlock; - (id)gratisEligibleItemIdentifiers; - (BOOL)isApplicationInstallRestricted; - (BOOL)isGratisEligible; - (BOOL)isItemRestrictedWithParentalControlsRank:(long long)parentalControlsRank; - (id)metricsActionTypeForItem:(id)item; - (id)performActionForItem:(id)item clientContext:(id)clientContext; - (id)performActionForItem:(id)item clientContext:(id)clientContext completionBlock:(id /* block */)completionBlock; - (id)performActionForItem:(id)item offer:(id)offer clientContext:(id)clientContext completionBlock:(id /* block */)completionBlock; - (id)performActionForItem:(id)item withCompletionBlock:(id /* block */)withCompletionBlock; - (void)performActionForLibraryItem:(id)libraryItem; - (id)performActionForSoftwareItem:(id)softwareItem offer:(id)offer clientContext:(id)clientContext completionBlock:(id /* block */)completionBlock; - (void)purchaseItem:(id)purchaseItem offer:(id)offer clientContext:(id)clientContext completionBlock:(id /* block */)completionBlock; - (void)purchaseItems:(id)purchaseItems withClientContext:(id)withClientContext completionBlock:(id /* block */)completionBlock; - (void)purchaseItems:(id)purchaseItems withCompletionBlock:(id /* block */)withCompletionBlock; - (void)purchaseSoftwareItem:(id)purchaseSoftwareItem offer:(id)offer clientContext:(id)clientContext completionBlock:(id /* block */)completionBlock; - (void)purchaseTone:(id)purchaseTone withProperties:(id)withProperties clientContext:(id)clientContext completionBlock:(id /* block */)completionBlock; - (void)reloadGratisEligibilityWithBundleIdentifiers:(id)bundleIdentifiers clientContext:(id)clientContext; - (void)reloadMediaLibrary:(id)reloadMediaLibrary; - (void)reloadSoftwareUpdatesFromServerWithCompletionBlock:(id /* block */)completionBlock; - (void)removeMediaLibrary:(id)removeMediaLibrary; - (void)removeRelationshipsForParentAdamId:(id)parentAdamId; - (id)stateForItemWithIdentifier:(long long)identifier; - (id)stateForItemWithStoreIdentifier:(id)storeIdentifier; @end