ByteRTCVirtualBackgroundSource class
- Inheritance
-
- Object
- NativeClass
- ByteRTCVirtualBackgroundSource
Properties
-
$resource
→ NativeResource
-
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
ready
→ Future<void>
-
Whether the instance is initialized
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceColor
↔ FutureOr<int?>
-
@brief The solid color of the background.
The format is 0xAARRGGBB.
getter/setter pair
-
sourcePath
↔ FutureOr<NSString?>
-
@brief The absolute path of the specified image.
- You can upload a .JPG, .PNG, or .JPEG file.
- The image with a resolution higher than 1080p(Full HD) will be rescaled proportionally to fit in the video.
- If the image's aspect ratio matches the video's, the image will be rescaled proportionally to fit in the video.
- If the image’s aspect ratio doesn't match the video's, the shortest side (either height or width) of the image will be stretched proportionally to match the video. Then the image will be cropped to fill in the video.
- The transparent area in the image will be filled with black.
getter/setter pair
-
sourceType
↔ FutureOr<ByteRTCVirtualBackgroundSourceType?>
-
@brief See ByteRTCVirtualBackgroundSourceType{@link #ByteRTCVirtualBackgroundSourceType} 。
getter/setter pair