setVirtualBackground method

Future<void> setVirtualBackground({
  1. String? path,
  2. int? backgroundType,
  3. int? blurLevel,
  4. int? color,
  5. bool? enable,
})

Implementation

Future<void> setVirtualBackground({
  String? path, int? backgroundType, int? blurLevel, int? color, bool? enable
}) async {
  await TRTC.setVirtualBackground(path: path, backgroundType: backgroundType, blurLevel: blurLevel, color: color, enable: enable);
}