#include "AliMediaLoader.h"
◆ onCanceled:
| - (void) onCanceled: |
|
(NSString *) | url |
|
|
optionalrequired |
the Canceled callback
- Parameters
-
◆ onCompleted:
| - (void) onCompleted: |
|
(NSString *) | url |
|
|
optionalrequired |
Completed callback.
- Parameters
-
◆ onError:code:msg:
| - (void) onError: |
|
(NSString *) | url |
| code: |
|
(int64_t) | code |
| msg: |
|
(NSString *) | msg |
|
optional |
Error callback.
- Parameters
-
| url | the load URL |
| code | Error codeļ¼-300 means the same url has been loaded, -301 means the cache is not open, preload failed |
| msg | Error description |
◆ onErrorV2:errorModel:
| - (void) onErrorV2: |
|
(NSString *) | url |
| errorModel: |
|
(AVPErrorModel *) | errorModel |
|
optionalrequired |
Error callback V2.
- Parameters
-
| url | the load URL |
| errorModel | Player error description, refer to AliVcPlayerErrorModel |
The documentation for this protocol was generated from the following file: