ContentInspectModule
A ContentInspectModule structure used to configure the frequency of video screenshot and upload.
class ContentInspectModule { const ContentInspectModule({this.type, this.interval}); @JsonKey(name: 'type') final ContentInspectType? type; @JsonKey(name: 'interval') final int? interval; factory ContentInspectModule.fromJson(Map<String, dynamic> json) => _$ContentInspectModuleFromJson(json); Map<String, dynamic> toJson() => _$ContentInspectModuleToJson(this); }
Attributes
- type
- Types of functional module. See ContentInspectType.
- 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.