AliyunPlayer v6.21.0
Aliyun Player API Reference Manual for iOS Platforms
Loading...
Searching...
No Matches
<AMDDelegate> Protocol Reference

#include "AMDDelegate.h"

Inheritance diagram for <AMDDelegate>:

Instance Methods

(void) - onCompletion:
 Download completion callback.
 
(void) - onDownloadingProgress:percentage:
 Download progress callback.
 
(void) - onError:errorModel:
 Proxy error callback.
 
(void) - onPrepared:mediaInfo:
 Download preparation completion callback.
 
(void) - onProcessingProgress:percentage:
 Downloaded file processing progress callback.
 

Method Documentation

◆ onCompletion:

- (void) onCompletion: (AliMediaDownloader *) downloader
optionalrequired

Download completion callback.

Parameters
downloaderDownloader pointer.

◆ onDownloadingProgress:percentage:

- (void) onDownloadingProgress: (AliMediaDownloader *) downloader
percentage: (int) percent 
optionalrequired

Download progress callback.

Parameters
downloaderDownloader pointer.
percentDownload progress: 0 to 100.

◆ onError:errorModel:

- (void) onError: (AliMediaDownloader *) downloader
errorModel: (AVPErrorModel *) errorModel 
optionalrequired

Proxy error callback.

Parameters
downloaderDownloader pointer.
errorModelPlayer error description. See AliVcPlayerErrorModel

◆ onPrepared:mediaInfo:

- (void) onPrepared: (AliMediaDownloader *) downloader
mediaInfo: (AVPMediaInfo *) info 
optional

Download preparation completion callback.

Parameters
downloaderDownloader pointer.
infoDownload preparation completion callback.
See also
AVPMediaInfo

◆ onProcessingProgress:percentage:

- (void) onProcessingProgress: (AliMediaDownloader *) downloader
percentage: (int) percent 
optionalrequired

Downloaded file processing progress callback.

Parameters
downloaderDownloader pointer.
percentProcessing progress: 0 to 100.

The documentation for this protocol was generated from the following file: