Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.video.ContentInspectConfig.ContentInspectModule Class Reference

`ContentInspectModule` class, a structure used to configure the frequency of video screenshot and upload. More...

## Public Member Functions
| ContentInspectModule ()

## Public Attributes
int | type
int | interval
Constants.VideoModulePosition | position

## Detailed Description

`ContentInspectModule` class, a structure used to configure the frequency of video screenshot and upload.

## Constructor & Destructor Documentation

## ◆ ContentInspectModule()

io.agora.rtc2.video.ContentInspectConfig.ContentInspectModule.ContentInspectModule | ( |  | ) |

Default content inspect type is invalid.

Default content inspect frequency is 0 seconds.

Default content inspect position is VIDEO_MODULE_POSITION_PRE_ENCODER.

## Member Data Documentation

## ◆ type

int io.agora.rtc2.video.ContentInspectConfig.ContentInspectModule.type

Types of functional modules:

- CONTENT_INSPECT_TYPE_INVALID (0): (Default) This module has no actual function. Do not set to this value.
- CONTENT_INSPECT_TYPE_SUPERVISE (2): Video screenshot and upload via Agora self-developed extension. SDK takes screenshots of the video stream in the channel and uploads them.
- CONTENT_INSPECT_TYPE_IMAGE_MODERATION (3): Video screenshot and upload via extensions from Agora Extensions Marketplace. SDK uses video moderation extensions from Agora Extensions Marketplace to take screenshots of the video stream in the channel and uploads them.

## ◆ interval

int io.agora.rtc2.video.ContentInspectConfig.ContentInspectModule.interval

The frequency (s) of video screenshot and upload. The value should be set as larger than 0. The default value is 0, the SDK does not take screenshots. Agora recommends that you set the value as 10; you can also adjust it according to your business needs.

## ◆ position

Constants.VideoModulePosition io.agora.rtc2.video.ContentInspectConfig.ContentInspectModule.position

The position of the video observer. See `VideoModulePosition`.