ContentLibraryManagerDelegate

Extends Protocol:
NSObject
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:

allContentInfo:


@optional

- (void) allContentInfo:(NSArray *)contentInfo;
Parameters
contentInfo

Keep instances of ContentInfoFileType object

Discussion

Get All Content Info instances

Availability
v11

contentInfoSnippet:byPath:


@optional

- (void)contentInfoSnippet:(NSArray *)contentInfo byPath:(NSString *)path;
Discussion

Content Information Snippet.

Availability
v11

fileDownloaded:version:


@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

fileDownloadFailed:version:withError:


@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

fileDownloadProgress:version:progressPercentage:


@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

fileDownloadRequestFailed:version:withError:


@optional

- (void)fileDownloadRequestFailed:(NSInteger)fileId version:(NSInteger)versionNo withError:(NSString *)error;
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

fileDownloadRequestSucceded:version:


@optional

- (void)fileDownloadRequestSucceded:(NSInteger)fileId version:(NSInteger)versionNo;
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

fileDownloadStarted:version:


@optional

- (void)fileDownloadStarted:(NSInteger)fileId version:(NSInteger)versionNo;
Parameters
fileId

The identifier of the file.

versionNo

The version number of the file.

Discussion

Called when a file starts downloading.

Availability
v11

fileInfoChanged


@optional

- (void)fileInfoChanged;
Discussion

Called when the info regarding a file changes.

Availability
v11

fileInfoChanged:versionNo:


@optional

- (void)fileInfoChanged:(NSInteger)fileId versionNo:(NSInteger)versionNo;
Discussion

Called when the info regarding a file changes.

Availability
v11