The callback for video predownloading.
◆ com::tencent::rtmp::downloader::ITXVodPreloadListener
| interface com::tencent::rtmp::downloader::ITXVodPreloadListener |
Public Member Functions |
| void | onComplete (int taskID, String url) |
| |
| void | onError (int taskID, String url, int code, String msg) |
| |
◆ onComplete()
| void onComplete |
( |
int |
taskID, |
|
|
String |
url |
|
) |
| |
The callback for download completion.
- Parameters
-
| taskID | The download task ID |
| url | The download task URL |
◆ onError()
| void onError |
( |
int |
taskID, |
|
|
String |
url, |
|
|
int |
code, |
|
|
String |
msg |
|
) |
| |
The callback for download error.
- Parameters
-
| taskID | The download task ID |
| url | The download task URL |
| code | The error code of the download failure |
| msg | The error message of the download failure |