AliyunIUploadCallback
Deprecated
@protocol AliyunIUploadCallback <NSObject>
* The protocol of upload callbacks.
-
* The callback when the upload is successful.
Declaration
Objective-C
- (void)uploadSuccessWithVid:(NSString *)vid imageUrl:(NSString *)imageUrl;Parameters
vidThe VID of the video.
imageUrlThe path of the thumbnail.
-
* The callback when an error occurs during upload.
Declaration
Objective-C
- (void)uploadFailedWithCode:(NSString *)code message:(NSString *)message;Parameters
codeThe error code.
messageThe error message.
-
* The callback that outputs the upload progress.
Declaration
Objective-C
- (void)uploadProgressWithUploadedSize:(long long)uploadedSize totalSize:(long long)totalSize;Parameters
uploadedSizeThe uploaded file size.
totalSizeThe total file size.
-
* The callback when the token expires.
Declaration
Objective-C
- (void)uploadTokenExpired; -
* The callback when the upload is retried.
Declaration
Objective-C
- (void)uploadRetry; -
* The callback when the retry is successful.
Declaration
Objective-C
- (void)uploadRetryResume;
AliyunIUploadCallback Protocol Reference