AliyunIVodUploadCallback
@protocol AliyunIVodUploadCallback <NSObject>
上传回调类
-
上传成功
Declaration
Objective-C
- (void)publishManagerUploadSuccess:(nonnull AliyunVodPublishManager *)manager;
Parameters
manager
AliyunVodPublishManager
-
上传失败
Declaration
Objective-C
- (void)publishManager:(nonnull AliyunVodPublishManager *)manager uploadFailedWithCode:(nonnull NSString *)code message:(nonnull NSString *)message;
Parameters
manager
AliyunVodPublishManager
code
错误码
message
错误描述
-
上传进度
Declaration
Objective-C
- (void)publishManager:(nonnull AliyunVodPublishManager *)manager uploadProgressWithUploadedSize:(long long)uploadedSize totalSize:(long long)totalSize;
Parameters
manager
AliyunVodPublishManager
uploadedSize
已上传数据大小
totalSize
所有数据大小
-
上传token过期
Declaration
Objective-C
- (void)publishManagerUploadTokenExpired: (nonnull AliyunVodPublishManager *)manager;
Parameters
manager
AliyunVodPublishManager
-
上传超时,开始尝试重试
Declaration
Objective-C
- (void)publishManagerUploadRetry:(nonnull AliyunVodPublishManager *)manager;
Parameters
manager
AliyunVodPublishManager
-
重试成功,开始继续上传
Declaration
Objective-C
- (void)publishManagerUploadRetryResume: (nonnull AliyunVodPublishManager *)manager;
Parameters
manager
AliyunVodPublishManager