#import <OOAssetDownloadManager.h>
- (BOOL) assetExistsForName: |
|
(nonnull NSString *) |
name |
|
Indicates if the asset exists.
- Parameters
-
name | name of the asset, i.e. embedcode or fairplay key |
- Returns
- YES if exists, NO otherwise
- (void) cancelDownloadDtoAsset: |
|
(nonnull OODtoAsset *) |
asset |
|
Stops and deletes the contents of a download in progress.
- Parameters
-
- (void) deleteAssetForName: |
|
(nonnull NSString *) |
name |
|
Deletes an asset for given name, i.e.
embedcode
- Parameters
-
name | name of the asset to delete, i.e. embedcode or fairplay key |
- (void) downloadDtoAsset: |
|
(nonnull OODtoAsset *) |
asset |
|
Tries to initialize a download task for the asset.
- Parameters
-
- (nonnull instancetype) NS_UNAVAILABLE |
|
|
|
- (void) pauseDownloadDtoAsset: |
|
(nonnull OODtoAsset *) |
asset |
|
Pause a download of the asset.
- Parameters
-
- (void) resumeDownloadDtoAsset: |
|
(nonnull OODtoAsset *) |
asset |
|
Resumes a paused download.
- Parameters
-
- (NSMutableDictionary<AVAssetDownloadTask *, OODtoAsset *>*) downloadingMap |
|
readwritenonatomicassign |
A dictionary with all downloading assets and corresponding AVAssetDownloadTask tasks.
- (NSURL*) homeDirectoryURL |
|
readwritenonatomicassign |
NSURL pointing the the home directory.
The documentation for this class was generated from the following file: