@Deprecated
public static interface AliyunICompose.AliyunIUploadCallBack
Modifier and Type | Method and Description |
---|---|
void |
onSTSTokenExpired()
Deprecated.
The callback when the STS token expires.
|
void |
onUploadFailed(java.lang.String code,
java.lang.String message)
Deprecated.
The callback when the upload fails.
|
void |
onUploadProgress(long uploadedSize,
long totalSize)
Deprecated.
The callback that outputs the progress of the upload.
|
void |
onUploadRetry(java.lang.String code,
java.lang.String message)
Deprecated.
The callback when the upload is retried.
|
void |
onUploadRetryResume()
Deprecated.
The callback when the retry is successful.
|
void |
onUploadSucceed(java.lang.String videoId,
java.lang.String imageUrl)
Deprecated.
The callback when the upload is successful.
|
void onUploadSucceed(java.lang.String videoId, java.lang.String imageUrl)
videoId
- The VID of the video.imageUrl
- The URL of the thumbnail.void onSTSTokenExpired()
void onUploadFailed(java.lang.String code, java.lang.String message)
code
- The error code.message
- The error message.void onUploadProgress(long uploadedSize, long totalSize)
uploadedSize
- The uploaded file size.totalSize
- The total file size.void onUploadRetry(java.lang.String code, java.lang.String message)
code
- The error code that causes the retry.message
- The error message that causes the retry.void onUploadRetryResume()