Skip to content

Commit 60463b2

Browse files
author
zhaoyongqiang
committed
修改鉴黄api改动
1 parent c6bf52e commit 60463b2

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

iOS/APIExample/Examples/Advanced/ContentInspect/ContentInspect.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@ class ContentInspectViewController: BaseViewController {
4141

4242
// Enable content inspect with local video view
4343
let moderateModule = AgoraContentInspectModule()
44-
// moderateModule.vendor = .agora
45-
// moderateModule.token = nil
4644
moderateModule.type = .moderation
47-
moderateModule.frequency = 1
45+
moderateModule.interval = 1
4846

4947
let inspectConfig = AgoraContentInspectConfig()
5048
inspectConfig.modules = [moderateModule]

macOS/APIExample/Examples/Advanced/ContentInspect/ContentInspect.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,8 @@ class ContentInspectViewController: BaseViewController {
7373

7474
// Enable content inspect with local video view
7575
let moderateModule = AgoraContentInspectModule()
76-
moderateModule.vendor = .agora
77-
moderateModule.token = nil
7876
moderateModule.type = .moderation
79-
moderateModule.frequency = 1
77+
moderateModule.interval = 1
8078

8179
let inspectConfig = AgoraContentInspectConfig()
8280
inspectConfig.modules = [moderateModule]

0 commit comments

Comments
 (0)