setChromaKeyBackgroundPath method Null safety
- String imagePath,
- ZegoEffectsScaleMode mode
Set the custom background image path for chroma key.
String imagePath - The path of the custom background image.
ZegoEffectsScaleMode mode - The scaling mode of the image.
Precautions: Use after initializing ZegoEffects.
Applicable version: >= 2.1.0
Implementation
Future<void> setChromaKeyBackgroundPath(String imagePath, ZegoEffectsScaleMode mode) async {
return await _channel.invokeMethod('setChromaKeyBackgroundPath', {'imagePath': imagePath, 'mode': mode.index});
}