ZegoBackgroundConfig class

背景的配置。

用于在开启主体分割时,配置背景。

Constructors

ZegoBackgroundConfig(ZegoBackgroundProcessType processType, int color, String imageURL, String videoURL, ZegoBackgroundBlurLevel blurLevel)
ZegoBackgroundConfig.defaultConfig()
默认构造一个背景图配置对象。

Properties

blurLevel ZegoBackgroundBlurLevel
背景虚化级别。
read / write
color ↔ int
背景颜色,格式为 0xRRGGBB,默认为黑色即 0x000000
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
imageURL ↔ String
背景图路径。
read / write
processType ZegoBackgroundProcessType
背景处理类型。
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
videoURL ↔ String
背景视频路径。
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited