NERoomLiveStreamLayout class Null safety
直播布局
Constructors
-
NERoomLiveStreamLayout({required int width, required int height, int backgroundColor = 0, required List<
NERoomLiveStreamUserTranscoding?> userTranscodingList, NERoomLiveStreamImageInfo? backgroundImg})
Properties
- backgroundColor → int
-
画面背景颜色
格式为 256 ✖ 256 ✖ R + 256 ✖ G + B的和。请将对应 RGB 的值分别带入此公式计算即可。若未设置,则默认为0。
final
- backgroundImg → NERoomLiveStreamImageInfo?
-
占位图片
详细信息请参考
NERoomStreamImageInfo
。final - hashCode → int
-
The hash code for this object.
read-only, inherited
- height → int
-
整体画布的高度
单位为 px。取值范围为 0~1920,若设置为奇数值,会自动向下取偶。
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
userTranscodingList
→ List<
NERoomLiveStreamUserTranscoding?> -
成员布局数组
详细信息请参考
NERoomLiveStreamUserTranscoding
。final - width → int
-
整体画布的宽度
单位为 px。
取值范围为 0~1920,若设置为奇数值,会自动向下取偶。
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited