tencent cloud

Video on Demand

ITXVodPreloadListener

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 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.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백