public class SnapshotDemo extends Object
| Constructor and Description |
|---|
SnapshotDemo() |
| Modifier and Type | Method and Description |
|---|---|
static void |
generateSnapshot(COSClient client)
generateSnapshot 接口用于获取媒体文件某个时间的截图并生成至bucket中。
|
static void |
getSnapshot(COSClient client)
GetSnapshot 接口用于获取媒体文件某个时间的截图。 (推荐)
|
static void |
main(String[] args) |
public static void getSnapshot(COSClient client) throws IOException
IOExceptionpublic static void generateSnapshot(COSClient client)
Copyright © 2023. All rights reserved.