ContentInspectModule
ContentInspectModule struct for configuring the upload frequency of local screenshots.
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);
}
Properties
- type
- The type of function module. See ContentInspectType.
- interval
- Interval for uploading local screenshots, in seconds. The value must be greater than 0. Default is 0, meaning no screenshot upload. Recommended value is 10 seconds, but you can adjust it based on your business requirements.
- position
- Position of the video observer. See VideoModulePosition.