ContentInspectConfig
Local screenshot upload configuration.
export class ContentInspectConfig {
extraInfo?: string;
serverConfig?: string;
modules?: ContentInspectModule[];
moduleCount?: number;
}
Properties
- extraInfo
- Additional information, maximum length is 1024 bytes. The SDK uploads this information along with the screenshot to the Agora server; after the screenshot is complete, the Agora server sends the additional information to your server along with the callback notification.
- modules
- Function modules. See ContentInspectModule.
You can configure up to 32 ContentInspectModule instances. The value range of
MAX_CONTENT_INSPECT_MODULE_COUNTis an integer in [1,32].Note: Only one instance can be configured per function module. Currently, only screenshot upload is supported. - moduleCount
- Number of function modules, i.e., the number of configured ContentInspectModule instances. Must match the number of instances configured in
modules. Maximum value is 32.