AliyunPlayer v6.19.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:
 下载完成回调
 
(void) - onDownloadingProgress:percentage:
 下载进度回调
 
(void) - onError:errorModel:
 错误代理回调
 
(void) - onPrepared:mediaInfo:
 下载准备完成事件回调
 
(void) - onProcessingProgress:percentage:
 下载文件的处理进度回调
 

Method Documentation

◆ onCompletion:

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

下载完成回调

Parameters
downloader下载downloader指针

◆ onDownloadingProgress:percentage:

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

下载进度回调

Parameters
downloader下载downloader指针
percent下载进度 0-100

◆ onError:errorModel:

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

错误代理回调

Parameters
downloader下载downloader指针
errorModel播放器错误描述,参考AliVcPlayerErrorModel

◆ onPrepared:mediaInfo:

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

下载准备完成事件回调

Parameters
downloader下载downloader指针
info下载准备完成回调,
See also
AVPMediaInfo

◆ onProcessingProgress:percentage:

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

下载文件的处理进度回调

Parameters
downloader下载downloader指针
percent下载进度 0-100

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