public interface AliyunIVodCompose extends AliyunIBaseCompose
AliyunIBaseCompose
and AliyunIVodUpload
respectively.Modifier and Type | Interface and Description |
---|---|
static class |
AliyunIVodCompose.AliyunComposeState |
static interface |
AliyunIVodCompose.AliyunIVodUploadCallBack |
Modifier and Type | Method and Description |
---|---|
int |
cancelUpload()
Cancels uploading.
|
AliyunIVodCompose.AliyunComposeState |
getState()
Gets the composition status.
|
int |
init(android.content.Context context)
Initializer.
|
int |
pauseUpload()
Pauses uploading.
|
int |
refreshWithUploadAuth(java.lang.String uploadAuth)
Updates upload credentials.
|
void |
release()
Releases resources.
|
int |
resumeUpload()
Resumes uploading.
|
int |
uploadImageWithVod(java.lang.String imagePath,
java.lang.String uploadAddress,
java.lang.String uploadAuth,
AliyunIVodCompose.AliyunIVodUploadCallBack aliyunVodUploadCallBack)
Uploads images by using upload credentials.
|
int |
uploadVideoWithVod(java.lang.String videoPath,
java.lang.String uploadAddress,
java.lang.String uploadAuth,
AliyunIVodCompose.AliyunIVodUploadCallBack aliyunVodUploadCallBack)
Uploads video files by using upload credentials.
|
cancelCompose, compose, pauseCompose, resumeCompose
int init(android.content.Context context)
init
in interface AliyunIBaseCompose
context
- Recommended value: applicationContextAliyunErrorCode.OK
if the invocation is successful.
AliyunErrorCode.ERROR_COMPOSE_INIT_FAILED
if the context parameter is null.int uploadVideoWithVod(java.lang.String videoPath, java.lang.String uploadAddress, java.lang.String uploadAuth, AliyunIVodCompose.AliyunIVodUploadCallBack aliyunVodUploadCallBack)
videoPath
- uploadAddress
- uploadAuth
- aliyunVodUploadCallBack
- int uploadImageWithVod(java.lang.String imagePath, java.lang.String uploadAddress, java.lang.String uploadAuth, AliyunIVodCompose.AliyunIVodUploadCallBack aliyunVodUploadCallBack)
imagePath
- uploadAddress
- uploadAuth
- int refreshWithUploadAuth(java.lang.String uploadAuth)
uploadAuth
- AliyunIVodCompose.AliyunComposeState getState()
AliyunIVodCompose.AliyunComposeState
int cancelUpload()
AliyunErrorCode.OK
if the invocation is successful.
AliyunErrorCode.ERROR_COMPOSE_STATUS_ERROR
if the invocation fails.int resumeUpload()
AliyunErrorCode.OK
if the invocation is successful.
AliyunErrorCode.ERROR_COMPOSE_STATUS_ERROR
if the invocation fails.int pauseUpload()
AliyunErrorCode.OK
if the invocation is successful.void release()
release
in interface AliyunIBaseCompose