enableChromaKeyBackgroundMosaic method Null safety

Future<void> enableChromaKeyBackgroundMosaic(
  1. bool enable
)

Enable chroma key mosaic background. Enabling chroma key mosaic background will disable custom background and blur background functions.

bool enable - Whether to enable chroma key mosaic background. Passing true enables it, and passing false disables it.

Precautions: Use after initializing ZegoEffects.

Applicable version: >= 2.1.0

Implementation

Future<void> enableChromaKeyBackgroundMosaic(bool enable) async {
  return await _channel.invokeMethod('enableChromaKeyBackgroundMosaic', {'enable': enable});
}