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

#include "AliMediaLoader.h"

Inheritance diagram for <AliMediaLoaderStatusDelegate>:

Instance Methods

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

Method Documentation

◆ onCanceled:

- (void) onCanceled: (NSString *) url
optionalrequired

取消回调

Parameters
url加载url

◆ onCompleted:

- (void) onCompleted: (NSString *) url
optionalrequired

完成回调

Parameters
url加载url

◆ onError:code:msg:

- (void) onError: (NSString *) url
code: (int64_t) code
msg: (NSString *) msg 
optional

错误回调

Parameters
url加载url
code错误码,-300表示同一个url已经加载过,-301表示地缓存未打开,预加载失败
msg错误描述

◆ onErrorV2:errorModel:

- (void) onErrorV2: (NSString *) url
errorModel: (AVPErrorModel *) errorModel 
optionalrequired

错误回调V2

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

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