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

#include "AliVodMediaLoader.h"

Inheritance diagram for <AliVodMediaLoaderStatusDelegate>:

Instance Methods

(void) - onCanceled:index:
 取消回调
 
(void) - onCompleted:index:
 完成回调
 
(void) - onError:index:code:msg:
 错误回调
 
(void) - onErrorV2:index:errorModel:
 错误回调V2
 
(void) - onPrepared:
 准备完成
 

Method Documentation

◆ onCanceled:index:

- (void) onCanceled: (NSString *) vid
index: (int) index 
optionalrequired

取消回调

Parameters
url加载url

◆ onCompleted:index:

- (void) onCompleted: (NSString *) vid
index: (int) index 
optionalrequired

完成回调

Parameters
url加载url

◆ onError:index:code:msg:

- (void) onError: (NSString *) vid
index: (int) index
code: (int64_t) code
msg: (NSString *) msg 
optionalrequired

错误回调

Parameters
url加载url
code错误码
msg错误描述

◆ onErrorV2:index:errorModel:

- (void) onErrorV2: (NSString *) vid
index: (int) index
errorModel: (AVPErrorModel *) errorModel 
optionalrequired

错误回调V2

Parameters
errorModel播放器错误描述,参考AliVcPlayerErrorModel

◆ onPrepared:

- (void) onPrepared: (AVPMediaInfo *) mediaInfo
optional

准备完成


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