@class NMSyncDefaults, NSDictionary, NSObject, NSOrderedSet, NMSMediaDownloadInfo, NMSPodcastsDownloadableContentProvider, NSString, NSSet, NMSPodcastsDownloadSettings, NMSPodcastsDownloadableContentController_Legacy, NSArray, NMSMediaQuotaManager, NSNumber, NMSMediaQuotaManager_Legacy; @protocol OS_dispatch_queue; @interface NMSMediaPinningManager : NSObject { NMSyncDefaults *_sharedDefaults; NMSPodcastsDownloadableContentProvider *_podcastsDownloadableContentProvider; NMSMediaQuotaManager *_addedItemsQuotaManager; NMSMediaQuotaManager *_downloadedItemsQuotaManager; NSNumber *_mediaQuota; NSObject *_internalQueue; NSArray *_cachedPlaylistIdentifiers; NSArray *_cachedAlbumIdentifiers; NSDictionary *_cachedUpNextDownloadSettings; NSDictionary *_cachedSavedEpisodesDownloadSettings; NSDictionary *_cachedStationDownloadSettings; NSDictionary *_cachedShowDownloadSettings; NSArray *_cachedAudiobookIdentifiers; BOOL _pinnedPlaylistsValidated; BOOL _workoutPlaylistValidated; NMSPodcastsDownloadableContentController_Legacy *_legacy_podcastsDownloadableContentController; NMSMediaQuotaManager_Legacy *_legacy_addedItemsQuotaManager; NMSMediaQuotaManager_Legacy *_legacy_downloadedItemsQuotaManager; NSArray *_legacy_cachedPodcastFeedURLs; NSArray *_legacy_cachedPodcastStationUUIDs; BOOL _legacy_cachedSavedEpisodesEnabled; BOOL _legacy_cachedPinnedPodcastsAreUserSet; } @property (readonly, nonatomic) NMSMediaDownloadInfo *downloadInfo; @property (retain, nonatomic) NSNumber *workoutPlaylistID; @property (retain, nonatomic) NMSPodcastsDownloadSettings *podcastsUpNextDownloadSettings; @property (retain, nonatomic) NMSPodcastsDownloadSettings *podcastsSavedEpisodesDownloadSettings; @property (readonly, nonatomic) NSSet *podcastsSelectedStationUUIDs; @property (readonly, nonatomic) NSSet *podcastsSelectedShowFeedURLs; @property (readonly, nonatomic) NSArray *podcastFeedURLs; @property (readonly, nonatomic) NSArray *podcastStationUUIDs; @property (nonatomic) BOOL pinnedPodcastsAreUserSet; @property (readonly, nonatomic) NSArray *audiobookIdentifiers; @property (nonatomic, getter=isWantToReadEnabled) BOOL wantToReadEnabled; @property (retain, nonatomic) NSOrderedSet *wantToReadAudiobooks; @property (nonatomic, getter=isReadingNowEnabled) BOOL readingNowEnabled; @property (retain, nonatomic) NSOrderedSet *readingNowAudiobooks; @property (readonly, nonatomic) NSOrderedSet *pinnedAudiobooks; @property (nonatomic) double audiobookDownloadLimit; @property (readonly, nonatomic) NSArray *playlistIdentifiers; @property (readonly, nonatomic) NSArray *albumIdentifiers; @property (readonly, nonatomic) NSArray *pinnedPlaylists; @property (readonly, nonatomic) NSArray *pinnedAlbums; @property (nonatomic) BOOL savedEpisodesEnabled; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (id)sharedManager; + (id)_cachedAlbumIdentifiersFilePath; + (id)_cachedIdentifiersDirectoryPath; + (id)_cachedAudiobookIdentifiersFilePath; + (id)_cachedPlaylistIdentifiersFilePath; + (id)_fetchMusicRecommendations; + (unsigned long long)_mediaStorageSizeForCurrentDevice; + (void)_persistNewClientToken; + (BOOL)_playlistPIDValidForPinning:(id)a0; + (id)_tokenForInstance:(id)a0; - (id)init; - (void)dealloc; - (void)_handleMediaLibraryEntitiesAddedOrRemovedNotification:(id)a0; - (void).cxx_destruct; - (void)_handlePairedDeviceDidBecomeActiveNotification:(id)a0; - (void)_handleMediaLibraryDidChangeNotification:(id)a0; - (void)_handleRecommendationSelectionsDidChangeNotification:(id)a0; - (void)_handleMediaLibraryDynamicPropertiesDidChangeNotification:(id)a0; - (void)extensionAccessDidChange; - (BOOL)_isAlbumPinned:(id)a0; - (void)_legacy_refreshMusicIdentifiers; - (void)unpinAudiobook:(id)a0; - (double)_audiobookDownloadLimit; - (BOOL)_deviceSupportsPodcastsPinningSettingsV2; - (void)_fetchAudiobooksIdentifiers; - (void)_fetchMusicIdentifiers; - (void)_handleAudiobooksPinningSelectionsDidChangeNotification:(id)a0; - (void)_handleAudiobooksRecommendationsDidChangeNotification:(id)a0; - (void)_handleICAgeVerificationStateDidChangeNotification:(id)a0; - (void)_handleMediaPinningAudiobooksContentsInvalidatedNotification:(id)a0; - (void)_handleMediaPinningManagerAudiobooksIdentifiersDidChangeNotification:(id)a0; - (void)_handleMediaPinningManagerMusicIdentifiersDidChangeNotification:(id)a0; - (void)_handleMediaPinningManagerPodcastsIdentifiersDidChangeNotification:(id)a0; - (void)_handleMediaPinningMusicContentsInvalidatedNotification:(id)a0; - (void)_handleMediaPinningPodcastsContentsInvalidatedNotification:(id)a0; - (void)_handleMusicPinningSelectionsDidChangeNotification:(id)a0; - (void)_handlePodcastSizeInfoDidChangeNotification:(id)a0; - (void)_handlePodcastsPinningSelectionsDidChangeNotification:(id)a0; - (void)_handleRecommendationLibraryContentsDidChangeNotification:(id)a0; - (void)_handleRecommendationsDidUpdateNotification:(id)a0; - (void)_invalidateAddedItemsCache; - (void)_invalidateMediaCacheForAppIdentifiers:(unsigned long long)a0; - (BOOL)_isAppDownloadingDormantForBundleIdentifier:(id)a0; - (BOOL)_isAudiobookPinned:(id)a0; - (BOOL)_isPlaylistPinned:(id)a0; - (BOOL)_legacy_musicIsOutOfSpace; - (id)_legacy_newAudiobooksGroupIteratorWithDownloadedItemsOnly:(BOOL)a0; - (id)_legacy_newGroupIteratorForBundleIdentifier:(id)a0 downloadedItemsOnly:(BOOL)a1; - (id)_legacy_newMusicGroupIteratorWithDownloadedItemsOnly:(BOOL)a0; - (id)_legacy_newPodcastsGroupIteratorWithDownloadedItemsOnly:(BOOL)a0; - (id)_legacy_quotaManagerWithDownloadedItemsOnly:(BOOL)a0; - (void)_legacy_refreshAudiobooksIdentifiers; - (void)_legacy_refreshPodcastsIdentifiers; - (unsigned long long)_mediaQuota; - (id)_newAudiobooksEnumeratorWithDownloadedItemsOnly:(BOOL)a0; - (id)_newItemEnumeratorForBundleIdentifier:(id)a0 downloadedItemsOnly:(BOOL)a1; - (id)_newMusicEnumeratorWithDownloadedItemsOnly:(BOOL)a0; - (void)_notePinningSettingsChangedLocally; - (id)_quotaManagerWithDownloadedItemsOnly:(BOOL)a0; - (void)_refreshAudiobooksIdentifiers; - (void)_refreshMusicIdentifiers; - (void)_refreshPodcastsIdentifiers; - (BOOL)_requiresICEnvironmentMonitor; - (void)_setWorkoutPlaylistID:(id)a0; - (BOOL)_shouldCalculateCachedIdentifiers; - (BOOL)_shouldIncludeMusicManualDownloadsInQuotaEvaluation; - (BOOL)_shouldSkipQuotaManagerEvaluation; - (void)_updateWorkoutSettingsPlaylistPIDTo:(id)a0; - (id)downloadInfoForBundleIdentifier:(id)a0; - (id)downloadInfoWithinAvailableSpace:(unsigned long long)a0; - (void)downloadableContentProviderDidChangeContent:(id)a0; - (void)invalidateAudiobooksCache; - (void)invalidateMusicCache; - (void)invalidatePodcastsCache; - (BOOL)isAlbumPinned:(id)a0; - (BOOL)isAudiobookPinned:(id)a0; - (BOOL)isItemGroupWithinQuota:(id)a0; - (BOOL)isPlaylistPinned:(id)a0; - (void)pinAlbum:(id)a0 completionHandler:(id /* block */)a1; - (void)pinAudiobook:(id)a0; - (void)pinPlaylist:(id)a0 completionHandler:(id /* block */)a1; - (void)pinPodcastStationWithUUID:(id)a0; - (void)pinPodcastWithFeedURL:(id)a0; - (id)podcastsDownloadSettingsForShowFeedURL:(id)a0; - (id)podcastsDownloadSettingsForStationUUID:(id)a0; - (void)podcastsDownloadableContentControllerContentDidChange:(id)a0; - (void)setAvailableSpace:(unsigned long long)a0; - (void)setPodcastsDownloadSettings:(id)a0 forShowFeedURL:(id)a1; - (void)setPodcastsDownloadSettings:(id)a0 forStationUUID:(id)a1; - (void)unpinAlbum:(id)a0 completionHandler:(id /* block */)a1; - (void)unpinPlaylist:(id)a0 completionHandler:(id /* block */)a1; - (void)unpinPodcastStationWithUUID:(id)a0; - (void)unpinPodcastWithFeedURL:(id)a0; @end