# ContentInspectConfig (/zh-CN/api-reference/rtc/unreal-cpp/class-contentinspectconfig)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="class_contentinspectconfig__prototype"></a>

```cpp
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){}
};
```

<a id="class_contentinspectconfig__parameters"></a>

## 参数 [#参数]

<ParameterList>
<a id="extrainfo"></a>
<Parameter name="extraInfo">

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

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

</Parameter>
<a id="serverconfig"></a>
<Parameter name="serverConfig">

（可选）云市场视频审核相关服务端配置，该参数仅在 [ContentInspectModule](/zh-CN/api-reference/rtc/unreal-cpp/class-contentinspectmodule) 中的 `type` 设置为 CONTENT_INSPECT_IMAGE_MODERATION 时生效。如需使用，请[联系技术支持](https://ticket.shengwang.cn/)。

</Parameter>
<a id="modules"></a>
<Parameter name="modules">

功能模块。详见 [ContentInspectModule](/zh-CN/api-reference/rtc/unreal-cpp/class-contentinspectmodule)。

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

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

</Parameter>
<a id="modulecount"></a>
<Parameter name="moduleCount">

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

</Parameter>
</ParameterList>
