VirtualBackgroundSource class
Custom background.
- Annotations
-
- @JsonSerializable.new(explicitToJson: true, includeIfNull: false)
Properties
- backgroundSourceType → BackgroundSourceType?
-
Custom background. See backgroundSourceType.
final
- blurDegree → BackgroundBlurDegree?
-
The blur level of the custom background image. This parameter takes effect only when the custom background type is backgroundBlur.
final
- color → int?
-
Color of the custom background image. The format is a hexadecimal integer defined in RGB, without the # symbol. For example, 0xFFB6C1 represents light pink. The default value is 0xFFFFFF, which represents white. The valid range is
0x000000, 0xffffff. If the value is invalid, the SDK will replace the original background image with a white background. This parameter takes effect only when the custom background is one of the following types: backgroundColor: The background image is a solid color image of the color passed in this parameter. backgroundImg: If the image in source has a transparent background, the color passed in this parameter will be used to fill the transparent background.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String?
-
The absolute local path of the custom background. Supports PNG, JPG, MP4, AVI, MKV, and FLV formats. If the path is invalid, the SDK will use the original background image or a solid color background specified by color. This parameter takes effect only when the custom background type is backgroundImg or backgroundVideo.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited