#include "AliMediaLoader.h"
◆ onCanceled:
- (void) onCanceled: |
|
(NSString *) | url |
|
|
optionalrequired |
◆ onCompleted:
- (void) onCompleted: |
|
(NSString *) | url |
|
|
optionalrequired |
◆ 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: