ContentInspectConfig
Local screenshot upload configuration.
public class ContentInspectConfig
{
public string extraInfo;
public string serverConfig;
public ContentInspectModule[] modules;
public int moduleCount;
public ContentInspectConfig()
{
extraInfo = "";
serverConfig = "";
modules = null;
moduleCount = 0;
}
};
Properties
- extraInfo
- Additional information, with a maximum length of 1024 bytes. The SDK uploads the additional information along with the screenshot to the Agora server. After the screenshot is completed, the Agora server sends the additional information to your server along with the callback notification.
- serverConfig
- (Optional) Cloud Marketplace video moderation related server configuration. This parameter takes effect only when the
typein ContentInspectModule is set toCONTENT_INSPECT_IMAGE_MODERATION. To use this feature, contact technical support. - modules
- Functional modules. See ContentInspectModule.
Supports up to 32 ContentInspectModule instances. The value range for
MAX_CONTENT_INSPECT_MODULE_COUNTis an integer between [1, 32].Note: Only one instance can be configured for each functional module. Currently, only screenshot upload is supported. - moduleCount
- Number of functional modules, i.e., the number of configured ContentInspectModule instances. Must match the number of instances configured in
modules. Maximum value is 32.