ContentInspectConfig

  • Unreal C++

更新时间不可用

本地截图上传配置。

C++
struct ContentInspectConfig {
  const char* extraInfo;
  const char* serverConfig;

  ContentInspectModule modules[MAX_CONTENT_INSPECT_MODULE_COUNT];
  int moduleCount;
   ContentInspectConfig& operator=(const ContentInspectConfig& rth)
	{
        extraInfo = rth.extraInfo;
        serverConfig = rth.serverConfig;
        moduleCount = rth.moduleCount;
		memcpy(&modules, &rth.modules,  MAX_CONTENT_INSPECT_MODULE_COUNT * sizeof(ContentInspectModule));
		return *this;
	}
  ContentInspectConfig() :extraInfo(NULL), serverConfig(NULL), moduleCount(0){}
};

参数

参数名描述
extraInfo

附加信息,最大长度为 1024 字节。

SDK 会将附加信息和截图一起上传至声网服务器;截图完成后,声网服务器会将附加信息随回调通知一起发送给你的服务器。

serverConfig

(可选)云市场视频审核相关服务端配置,该参数仅在 ContentInspectModule 中的 type 设置为 CONTENT_INSPECT_IMAGE_MODERATION 时生效。如需使用,请联系技术支持。

modules

功能模块。详见 ContentInspectModule。

最多支持配置 32 个 ContentInspectModule 实例,MAX_CONTENT_INSPECT_MODULE_COUNT 的取值范围为 [1,32] 中的整数。

注意: 一个功能模块最多只能配置一个实例。目前仅支持截图上传功能。

moduleCount

功能模块数,即配置的 ContentInspectModule 实例的数量,必须与 modules 中配置的实例个数一致。最大值为 32。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?