tencent cloud

Video on Demand

ITXVodPreloadListener

PDF
フォーカスモード
フォントサイズ
最終更新日: 2025-05-30 15:08:02

Introducing the ITXVodPreloadListener API

Pre-download URL state callback listener API

Callback API Overview

API
Description
Video preloading completed.
onError
Video preloading error.

Callback API Details

onComplete

Preloading completed with successful callback.
void onComplete(int taskID, String url);
Parameter Description
Parameter Name
Type
Description
taskID
int
Pre-download task ID.
url
String
Pre-download task URL.

onError

Pre-download failure callback.
void onError(int taskID, String url, int code, String msg)
Parameter Description
Parameter Name
Type
Description
taskID
int
Pre-download task ID.
url
String
Pre-download task URL.
code
int
Error code.
msg
String
Error information.

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック