ContentInspectConfig
- Flutter
更新时间不可用
本地截图上传配置。
@JsonSerializable(explicitToJson: true, includeIfNull: false)
class ContentInspectConfig {
const ContentInspectConfig(
{this.extraInfo, this.serverConfig, this.modules, this.moduleCount});
@JsonKey(name: 'extraInfo')
final String? extraInfo;
@JsonKey(name: 'serverConfig')
final String? serverConfig;
@JsonKey(name: 'modules')
final List<ContentInspectModule>? modules;
@JsonKey(name: 'moduleCount')
final int? moduleCount;
factory ContentInspectConfig.fromJson(Map<String, dynamic> json) =>
_$ContentInspectConfigFromJson(json);
Map<String, dynamic> toJson() => _$ContentInspectConfigToJson(this);
}属性
| 参数名 | 描述 |
|---|---|
extraInfo | |
serverConfig | (可选)云市场视频审核相关服务端配置,该参数仅在 ContentInspectModule 中的 |
modules | 功能模块。详见 ContentInspectModule。
最多支持配置 32 个 ContentInspectModule 实例, 注: 一个功能模块最多只能配置一个实例。目前仅支持截图上传功能。 |
moduleCount | 功能模块数,即配置的 ContentInspectModule 实例的数量,必须与 |