TRTCWatermark class
The Watermark Layout
This enum type is used by the On-Cloud MixTranscoding parameter
TRTCStreamMixingConfig of the publishing API startPublishMediaStream
.
Constructors
- TRTCWatermark({String watermarkUrl = "", int zOrder = 0, TRTCRect? rect})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rect ↔ TRTCRect
-
- Description: The coordinates (in pixels) of the watermark.
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- watermarkUrl ↔ String
-
- Description: The URL of the watermark image. The image specified by the URL will be mixed during On-Cloud MixTranscoding.
- Note:
- The URL can be 512 bytes long at most, and the image must not exceed 2 MB.
- The image can be in PNG, JPG, JPEG, or BMP format. We recommend you use a semitransparent image in PNG format.
getter/setter pair - zOrder ↔ int
-
- Description: The layer of the watermark, which must be unique. Value range: 0-15.
getter/setter pair
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