enableChromaKeyBackground method Null safety
- bool enable
Enable chroma key background. Enabling chroma key background will disable blur background and mosaic background functions.
bool enable - Whether to enable chroma key background. Passing true
enables it, and passing false
disables it.
Precautions: Use after initializing ZegoEffects.
Applicable version: >= 2.1.0
Implementation
Future<void> enableChromaKeyBackground(bool enable) async {
return await _channel.invokeMethod('enableChromaKeyBackground', {'enable': enable});
}