Skip to content

Commit 722b1df

Browse files
committed
add comment for ResourcesCensor to use resourceCensor [ci skip]
1 parent b1e511c commit 722b1df

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

examples/ResourcesCensor.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
import java.util.HashMap;
1010
import java.util.Map;
1111

12+
/**
13+
* 内容安全审核 demo
14+
* ImageCensor 图片内容安全审核,同步处理,不需要查询处理结果
15+
* VideoCensor 视频内容安全审核,异步处理,需要查询处理结果,返回处理任务ID
16+
* getVideoCensorResultByJobID 根据视频内容审核任务ID,查询审核结果
17+
*/
1218
public class ResourcesCensor {
1319
//设置好账号的ACCESS_KEY和SECRET_KEY
1420
private static final String ACCESS_KEY = "填写你们自己的ak";
@@ -96,7 +102,9 @@ public String VideoCensor() throws QiniuException {
96102
}
97103

98104
/**
99-
*
105+
* 查询视频审核内容结果
106+
* 参考
107+
* https://developer.qiniu.com/censor/api/5620/video-censor#4
100108
* @param ID : 视频审核返回的 job ID
101109
*
102110
*/

0 commit comments

Comments
 (0)