AliyunPlayer v7.0.0
Aliyun Player API Reference Manual for iOS Platforms
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Pages
<AliMediaLoaderStatusDelegate> Protocol Reference

#import "AliMediaLoader.h"

Inheritance diagram for <AliMediaLoaderStatusDelegate>:

Instance Methods

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

Method Documentation

◆ onCanceled:

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

取消回调

Parameters
url加载url

◆ onCompleted:

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

完成回调

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 
optional

错误回调V2

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

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