ContentInspectConfig

Local screenshot upload configuration.

export class ContentInspectConfig {

  extraInfo?: string;

  serverConfig?: string;

  modules?: ContentInspectModule[];

  moduleCount?: number;
}

Properties

extraInfo
Additional information, with a maximum length of 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 back to your server in the callback notification.
serverConfig
(Optional) Server configuration for video moderation services on the cloud marketplace. This parameter only takes effect when the type in ContentInspectModule is set to ContentInspectImageModeration. To use this feature, please contact technical support.
modules
Function modules. See ContentInspectModule. Up to 32 ContentInspectModule instances are supported. The value range of MAX_CONTENT_INSPECT_MODULE_COUNT is 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 ContentInspectModule instances configured. Must match the number of instances in modules. Maximum value is 32.