VideoLayout
- Flutter
更新时间不可用
某一路合图子视频流的布局信息。
@JsonSerializable(explicitToJson: true, includeIfNull: false)
class VideoLayout {
const VideoLayout(
{this.channelId,
this.uid,
this.strUid,
this.x,
this.y,
this.width,
this.height,
this.videoState});
@JsonKey(name: 'channelId')
final String? channelId;
@JsonKey(name: 'uid')
final int? uid;
@JsonKey(name: 'strUid')
final String? strUid;
@JsonKey(name: 'x')
final int? x;
@JsonKey(name: 'y')
final int? y;
@JsonKey(name: 'width')
final int? width;
@JsonKey(name: 'height')
final int? height;
@JsonKey(name: 'videoState')
final int? videoState;
factory VideoLayout.fromJson(Map<String, dynamic> json) =>
_$VideoLayoutFromJson(json);
Map<String, dynamic> toJson() => _$VideoLayoutToJson(this);
}属性
| 参数名 | 描述 |
|---|---|
channelId | |
uid | |
strUid | |
x | |
y | |
width | |
height | |
videoState |