Objective-CclassiTunesCloud
ICMusicContentKeySession
@interface ICMusicContentKeySession : NSObject <AVContentKeySessionDelegate>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolAVContentKeySessionDelegate
Members 66
- method
+ (id)contentKeyRequestItemWithRequestContext:(id)arg0 adamID:(id)arg1 keyServerURL:(id)arg2 keyCertificateURL:(id)arg3 keyServerProtocolType:(long long)arg4 isStoreKeyServer:(BOOL)arg5 requestOfflineKeys:(BOOL)arg6 keyStore:(id)arg7; - method
+ (id)enhancedAudioSharedContentKeyPath; - method
+ (id)pendingInvalidationKeyStorePath; - property
@property(class, readonly, nonatomic) NSString *enhancedAudioSharedContentKeyPath; - property
@property(class, readonly, nonatomic) NSString *pendingInvalidationKeyStorePath; - ivar
NSObject<OS_dispatch_queue> *_accessQueue;+0x8 - ivar
BOOL _allowFallbackToStreamingKeys;+0x88 - ivar
BOOL _automaticKeyRenewalPaused;+0x70 - ivar
NSMutableDictionary *_completedKeyRequests;+0x58 - ivar
AVContentKeySession *_contentKeySession;+0x18 - ivar
NSDate *_creationDate;+0x90 - ivar
id <ICMusicContentKeySessionDelegate> _delegate;+0x80 - ivar
_ICContentKeyRequestItemMap *_itemMap;+0x30 - ivar
NSMutableDictionary *_keyRenewalDates;+0x60 - ivar
NSObject<OS_dispatch_source> *_keyRenewalTimer;+0x68 - ivar
NSMutableSet *_pendingKeyIdentifiers;+0x38 - ivar
NSMutableSet *_pendingPersistentKeyRenewalIdentifiers;+0x48 - ivar
NSMutableSet *_pendingRenewalKeyIdentifiers;+0x40 - ivar
ICContentKeySessionPrefetchKeyConfiguration *_prefetchKeyConfiguration;+0x20 - ivar
ICFileContentKeyStore *_prefetchedContentKeyStore;+0x28 - ivar
BOOL _refreshExpiredPersistentKeys;+0x89 - ivar
NSMutableArray *_renewalCompletionBlocks;+0x50 - ivar
unsigned long long _totalNumberOfKeyRequests;+0x78 - ivar
NSObject<OS_dispatch_semaphore> *_waitForKeysSemaphore;+0x10 - method
- (void).cxx_destruct; - method
- (void)_finishProcessingKeyWithIdentifier:(id)arg0 item:(id)arg1; - method
- (BOOL)_isPrefetchKey:(id)arg0; - method
- (void)_notifyRenewalWaitersIfFinished; - method
- (void)_performKeyDeliveryRequestForContentKeyRequest:(id)arg0 persistResponse:(BOOL)arg1 isRenewal:(BOOL)arg2; - method
- (void)_preloadKeysForAsset:(id)arg0; - method
- (void)_processKeyWithIdentifier:(id)arg0 item:(id)arg1; - method
- (void)_renewExpiredKeys; - method
- (void)_scheduleKeyRefreshTimer; - method
- (BOOL)_shouldRequestPersistentKeyForKeyRequest:(id)arg0; - method
- (void)addAsset:(id)arg0 withItem:(id)arg1; - method
- (void)addAsset:(id)arg0 withItem:(id)arg1 shouldPreloadKeys:(BOOL)arg2; - method
- (BOOL)allowFallbackToStreamingKeys; - method
- (void)contentKeySession:(id)arg0 contentKeyRequest:(id)arg1 didFailWithError:(id)arg2; - method
- (void)contentKeySession:(id)arg0 contentKeyRequestDidSucceed:(id)arg1; - method
- (void)contentKeySession:(id)arg0 didProvideContentKeyRequest:(id)arg1; - method
- (void)contentKeySession:(id)arg0 didProvidePersistableContentKeyRequest:(id)arg1; - method
- (void)contentKeySession:(id)arg0 didProvideRenewingContentKeyRequest:(id)arg1; - method
- (id)creationDate; - method
- (void)dealloc; - method
- (id)description; - method
- (id)init; - method
- (id)initWithDelegate:(id)arg0; - method
- (void)pauseAutomaticKeyRenewal; - method
- (void)prewarmSharedKeysWithRequestContext:(id)arg0; - method
- (BOOL)refreshExpiredPersistentKeys; - method
- (void)removeAsset:(id)arg0; - method
- (void)resumeAutomaticKeyRenewal; - method
- (void)setAllowFallbackToStreamingKeys:(BOOL)arg0; - method
- (void)setRefreshExpiredPersistentKeys:(BOOL)arg0; - method
- (unsigned long long)totalNumberOfKeyRequests; - method
- (void)waitForAllKeysToProcess; - method
- (void)waitForAllKeysToProcessWithTimeout:(double)arg0; - method
- (void)waitForKeyRenewalsWithCompletionHandler:(id /* block */)arg0; - property
@property(nonatomic) BOOL allowFallbackToStreamingKeys; - property
@property(readonly, nonatomic) NSDate *creationDate; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly, copy) NSString *description; - property
@property(readonly) unsigned long long hash; - property
@property(nonatomic) BOOL refreshExpiredPersistentKeys; - property
@property(readonly) Class superclass; - property
@property(readonly, nonatomic) unsigned long long totalNumberOfKeyRequests;
Header
@interface ICMusicContentKeySession : NSObject <AVContentKeySessionDelegate> { NSObject<OS_dispatch_queue> *_accessQueue; NSObject<OS_dispatch_semaphore> *_waitForKeysSemaphore; AVContentKeySession *_contentKeySession; ICContentKeySessionPrefetchKeyConfiguration *_prefetchKeyConfiguration; ICFileContentKeyStore *_prefetchedContentKeyStore; _ICContentKeyRequestItemMap *_itemMap; NSMutableSet *_pendingKeyIdentifiers; NSMutableSet *_pendingRenewalKeyIdentifiers; NSMutableSet *_pendingPersistentKeyRenewalIdentifiers; NSMutableArray *_renewalCompletionBlocks; NSMutableDictionary *_completedKeyRequests; NSMutableDictionary *_keyRenewalDates; NSObject<OS_dispatch_source> *_keyRenewalTimer; BOOL _automaticKeyRenewalPaused; unsigned long long _totalNumberOfKeyRequests; id<ICMusicContentKeySessionDelegate> _delegate; BOOL _allowFallbackToStreamingKeys; BOOL _refreshExpiredPersistentKeys; NSDate *_creationDate; } @property (nonatomic, class, readonly) NSString *enhancedAudioSharedContentKeyPath; @property (nonatomic, class, readonly) NSString *pendingInvalidationKeyStorePath; @property (nonatomic) BOOL allowFallbackToStreamingKeys; @property (nonatomic) BOOL refreshExpiredPersistentKeys; @property (nonatomic, readonly) unsigned long long totalNumberOfKeyRequests; @property (nonatomic, readonly) NSDate *creationDate; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; + (id)pendingInvalidationKeyStorePath; + (id)contentKeyRequestItemWithRequestContext:(id)requestContext adamID:(id)adamID keyServerURL:(id)keyServerURL keyCertificateURL:(id)keyCertificateURL keyServerProtocolType:(long long)keyServerProtocolType isStoreKeyServer:(BOOL)isStoreKeyServer requestOfflineKeys:(BOOL)requestOfflineKeys keyStore:(id)keyStore; + (id)enhancedAudioSharedContentKeyPath; - (id)initWithDelegate:(id)delegate; - (void).cxx_destruct; - (void)dealloc; - (id)init; - (id)creationDate; - (id)description; - (void)contentKeySession:(id)contentKeySession contentKeyRequest:(id)contentKeyRequest didFailWithError:(id)error; - (void)contentKeySession:(id)contentKeySession contentKeyRequestDidSucceed:(id)contentKeyRequestDidSucceed; - (void)contentKeySession:(id)contentKeySession didProvideContentKeyRequest:(id)didProvideContentKeyRequest; - (void)contentKeySession:(id)contentKeySession didProvidePersistableContentKeyRequest:(id)didProvidePersistableContentKeyRequest; - (void)contentKeySession:(id)contentKeySession didProvideRenewingContentKeyRequest:(id)didProvideRenewingContentKeyRequest; - (void)removeAsset:(id)removeAsset; - (void)_processKeyWithIdentifier:(id)identifier item:(id)item; - (BOOL)_isPrefetchKey:(id)_isPrefetchKey; - (void)_notifyRenewalWaitersIfFinished; - (void)_finishProcessingKeyWithIdentifier:(id)identifier item:(id)item; - (void)_performKeyDeliveryRequestForContentKeyRequest:(id)contentKeyRequest persistResponse:(BOOL)persistResponse isRenewal:(BOOL)isRenewal; - (void)_preloadKeysForAsset:(id)asset; - (void)_renewExpiredKeys; - (void)_scheduleKeyRefreshTimer; - (BOOL)_shouldRequestPersistentKeyForKeyRequest:(id)keyRequest; - (void)addAsset:(id)addAsset withItem:(id)withItem; - (void)addAsset:(id)addAsset withItem:(id)withItem shouldPreloadKeys:(BOOL)shouldPreloadKeys; - (BOOL)allowFallbackToStreamingKeys; - (void)pauseAutomaticKeyRenewal; - (void)prewarmSharedKeysWithRequestContext:(id)requestContext; - (BOOL)refreshExpiredPersistentKeys; - (void)resumeAutomaticKeyRenewal; - (void)setAllowFallbackToStreamingKeys:(BOOL)streamingKeys; - (void)setRefreshExpiredPersistentKeys:(BOOL)refreshExpiredPersistentKeys; - (unsigned long long)totalNumberOfKeyRequests; - (void)waitForAllKeysToProcess; - (void)waitForAllKeysToProcessWithTimeout:(double)timeout; - (void)waitForKeyRenewalsWithCompletionHandler:(id /* block */)completionHandler; @end