ContentInspectModule

  • Flutter

更新时间不可用

ContentInspectModule 结构体,用于配置本地截图上传的频率。

Dart
class ContentInspectModule {

  const ContentInspectModule({this.type, this.interval, this.position});
  @JsonKey(name: 'type')
  final ContentInspectType? type;
  @JsonKey(name: 'interval')
  final int? interval;
  @JsonKey(name: 'position')
  final VideoModulePosition? position;
  factory ContentInspectModule.fromJson(Map<String, dynamic> json) =>
      _$ContentInspectModuleFromJson(json);

  Map<String, dynamic> toJson() => _$ContentInspectModuleToJson(this);
}

属性

参数名描述
type

功能模块的类型。详见 ContentInspectType。

interval

本地截图上传的间隔,单位为秒,取值必须大于 0。默认值为 0,表示不进行截图上传。推荐值为 10 秒,你也可以根据业务需求自行调整。

position

视频观察器的位置。详见 VideoModulePosition。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?