Skip to content

Commit

Permalink
add comment for ResourcesCensor to use resourceCensor [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
neikochan committed Aug 11, 2020
1 parent b1e511c commit 722b1df
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion examples/ResourcesCensor.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
import java.util.HashMap;
import java.util.Map;

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

/**
*
* 查询视频审核内容结果
* 参考
* https://developer.qiniu.com/censor/api/5620/video-censor#4
* @param ID : 视频审核返回的 job ID
*
*/
Expand Down

0 comments on commit 722b1df

Please sign in to comment.