AliyunPlayer  v5.4.5.0
Aliyun Player API Reference Manual for iOS Platforms
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties
<AMDDelegate> Protocol Reference
Inheritance diagram for <AMDDelegate>:

Instance Methods

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

Method Documentation

◆ onCompletion:

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

Download completion callback.

Parameters
downloaderDownloader pointer.

◆ onDownloadingProgress:percentage:

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

Download progress callback.

Parameters
downloaderDownloader pointer.
percentDownload progress: 0 to 100.

◆ onError:errorModel:

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

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 
optional

Downloaded file processing progress callback.

Parameters
downloaderDownloader pointer.
percentProcessing progress: 0 to 100.

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