| Extends Protocol: |
|
| Declared In: |
|
Introduction
The ContentLibraryManagerDelegate protocol defines methods called throughout the file download process.
Methods
- -allContentInfo:
- -contentInfoSnippet:byPath:
- -fileDownloaded:version:
- -fileDownloadFailed:version:withError:
- -fileDownloadProgress:version:progressPercentage:
- -fileDownloadRequestFailed:version:withError:
- -fileDownloadRequestSucceded:version:
- -fileDownloadStarted:version:
- -fileInfoChanged
- -fileInfoChanged:versionNo:
Parameters
-
contentInfo
Keep instances of ContentInfoFileType object
Discussion
Get All Content Info instances
- Availability
- v11
Discussion
Content Information Snippet.
- Availability
- v11
@optional
- (void)fileDownloaded:(NSInteger)fileId version:(NSInteger)versionNo;
Parameters
-
fileId
The identifier of the file.
-
versionNo
The version number of the file.
Discussion
Called when a file finishes downloading.
- Availability
- v11
@optional
- (void)fileDownloadFailed:(NSInteger)fileId version:(NSInteger)versionNo
withError:(NSString *)error;
Parameters
-
fileId
The identifier of the file.
-
versionNo
The version number of the file.
-
error
The message providing information regarding the error.
Discussion
Called when a file dowload fails.
- Availability
- v11
@optional
- (void)fileDownloadProgress:(NSInteger)fileId version:(NSInteger)versionNo
progressPercentage:(uint64_t)progress;
Parameters
-
fileId
The identifier of the file.
-
versionNo
The version number of the file.
-
progress
The percentage of the file that has been downloaded.
Discussion
Called repetitively as a file is being downloaded.
- Availability
- v11
Parameters
-
fileId
The identifier of the file.
-
versionNo
The version nuumber of the file.
-
error
The message providing information regarding the error.
Discussion
Called when a file download request fails.
- Availability
- v11
Parameters
-
fileId
The identifier of the file.
-
versionNo
The version nuumber of the file.
Discussion
Called when a file download request is succesful.
- Availability
- v11
Parameters
-
fileId
The identifier of the file.
-
versionNo
The version number of the file.
Discussion
Called when a file starts downloading.
- Availability
- v11
@optional
- (void)fileInfoChanged;
Discussion
Called when the info regarding a file changes.
- Availability
- v11
Discussion
Called when the info regarding a file changes.
- Availability
- v11
Last Updated: Tuesday, July 28, 2020
|