setWatermark method
Future<void>
setWatermark(
- String imagePath,
- TRTCVideoStreamType streamType,
- double x,
- double y,
- double width,
Implementation
Future<void> setWatermark(String imagePath, TRTCVideoStreamType streamType, double x, double y, double width) async {
_channel.invokeMethod("setWatermark", {
"imagePath": imagePath,
"streamType": streamType.value(),
"x": x,
"y": y,
"width": width,
});
}