API | Description |
Video preloading started. For fileId preloading, callback before starting preloading after link replacement succeeds. | |
Video preloading completed. | |
Video preloading error. |
public void onStart(int taskID, String fileId, String url, Bundle bundle)
Parameter Name | Type | Description |
taskID | int | Pre-download task ID. |
fileId | int | Pre-downloaded video fileId. |
url | String | Pre-download task URL, which is the video URL after link replacement, can be used for subsequent playback. |
bundle | Bundle | Additional information carried by preloading. |
void onComplete(int taskID, String url);
Parameter Name | Type | Description |
taskID | int | Pre-download task ID. |
url | String | Pre-download task URL. |
void onError(int taskID, String url, int code, String msg)
Parameter Name | Type | Description |
taskID | int | Pre-download task ID. |
url | String | Pre-download task URL. |
code | int | Error code. |
msg | String | Error information. |
Feedback