11 @class AVAssetDownloadTask;
13 NS_CLASS_AVAILABLE_IOS(10.0)
18 @property (nonnull, nonatomic) NSMutableDictionary<AVAssetDownloadTask *, OODtoAsset *> *
downloadingMap;
38 - (void)downloadDtoAsset:(nonnull
OODtoAsset *)asset;
45 - (void)pauseDownloadDtoAsset:(nonnull
OODtoAsset *)asset;
52 - (void)resumeDownloadDtoAsset:(nonnull
OODtoAsset *)asset;
59 - (void)cancelDownloadDtoAsset:(nonnull
OODtoAsset *)asset;
66 - (void)deleteAssetForName:(nonnull NSString *)name;
74 - (BOOL)assetExistsForName:(nonnull NSString *)name;
nonnull OOAssetDownloadManager * shared()
Shared instance of the OOAssetDownloadManager.
Definition: OOAssetDownloadManager.h:14
NSURL * homeDirectoryURL
NSURL pointing the the home directory.
Definition: OOAssetDownloadManager.h:23
nonnull instancetype NS_UNAVAILABLE()
NSMutableDictionary< AVAssetDownloadTask *, OODtoAsset * > * downloadingMap
A dictionary with all downloading assets and corresponding AVAssetDownloadTask tasks.
Definition: OOAssetDownloadManager.h:18
Use this class to manage an offline-downloadable asset.
Definition: OODtoAsset.h:38