ZegoBeautyPluginConfig constructor
ZegoBeautyPluginConfig({
- List<
ZegoBeautyPluginEffectsType> ? effectsTypes, - ZegoBeautyPluginInnerText? innerText,
- ZegoBeautyPluginUIConfig? uiConfig,
- String? segmentationBackgroundImageName,
- ZegoBeautyPluginSegmentationScaleMode segmentationScaleMode = ZegoBeautyPluginSegmentationScaleMode.aspectFill,
- bool enableFaceDetection = false,
- String license()?,
Implementation
ZegoBeautyPluginConfig({
List<ZegoBeautyPluginEffectsType>? effectsTypes,
ZegoBeautyPluginInnerText? innerText,
ZegoBeautyPluginUIConfig? uiConfig,
this.segmentationBackgroundImageName,
this.segmentationScaleMode =
ZegoBeautyPluginSegmentationScaleMode.aspectFill,
this.enableFaceDetection = false,
this.license,
}) {
this.effectsTypes = effectsTypes ?? allEffectsTypes();
this.innerText = innerText ?? ZegoBeautyPluginInnerText();
this.uiConfig = uiConfig ?? ZegoBeautyPluginUIConfig();
}