LiteAVSDK
Tencent Cloud TRTC SDK, is a high availability components serving tens of thousands of enterprise customers, which is committed to helping you to minimize your research and development costs.
ITXVodPreloadListener

Data Structures

interface  ITXVodPreloadListener
 

Detailed Description

The callback for video predownloading.


Data Structure Documentation

◆ 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)
 

Member Function Documentation

◆ onComplete()

void onComplete ( int  taskID,
String  url 
)

The callback for download completion.

Parameters
taskIDThe download task ID
urlThe download task URL

◆ onError()

void onError ( int  taskID,
String  url,
int  code,
String  msg 
)

The callback for download error.

Parameters
taskIDThe download task ID
urlThe download task URL
codeThe error code of the download failure
msgThe error message of the download failure