AliyunPlayer v6.21.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:
 the Canceled callback
 
(void) - onCompleted:
 Completed callback.
 
(void) - onError:code:msg:
 Error callback.
 
(void) - onErrorV2:errorModel:
 Error callback V2.
 

Method Documentation

◆ onCanceled:

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

the Canceled callback

Parameters
URLthe load URL

◆ onCompleted:

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

Completed callback.

Parameters
URLthe load URL

◆ onError:code:msg:

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

Error callback.

Parameters
urlthe load URL
codeError codeļ¼Œ-300 means the same url has been loaded, -301 means the cache is not open, preload failed
msgError description

◆ onErrorV2:errorModel:

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

Error callback V2.

Parameters
errorModelPlayer error description, refer to AliVcPlayerErrorModel

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