public class JobDemo extends Object
| 构造器和说明 |
|---|
JobDemo() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
cancelMediaJob(COSClient client)
cancelMediaJob 取消任务
|
static void |
createMediaJobs(COSClient client)
createMediaJobs 接口用于创建媒体任务。
|
static void |
createMediaJobs2(COSClient client)
createMediaJobs 接口用于创建媒体任务
demo 使用转码参数创建任务 推荐使用模板创建媒体任务
|
static void |
describeMediaJob(COSClient client)
describeMediaJob 根据jobId查询任务信息
|
static void |
describeMediaJobs(COSClient client)
describeMediaJobs 查询任务列表
|
static void |
main(String[] args) |
public static void createMediaJobs(COSClient client) throws UnsupportedEncodingException
client - UnsupportedEncodingExceptionpublic static void createMediaJobs2(COSClient client) throws UnsupportedEncodingException
client - UnsupportedEncodingExceptionpublic static void describeMediaJob(COSClient client)
client - public static void describeMediaJobs(COSClient client)
client - public static void cancelMediaJob(COSClient client)
client - Copyright © 2022. All rights reserved.