ZegoBeautyPluginConfig class

config of beauty plugin

Constructors

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

Properties

effectsTypes List<ZegoBeautyPluginEffectsType>
getter/setter pair
enableFaceDetection bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
innerText ZegoBeautyPluginInnerText
getter/setter pair
license String Function()?
for how to obtain the license file and the implementation steps of online authentication, you can refer to this https://docs.zegocloud.com/article/12291.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentationBackgroundImageName String?
getter/setter pair
segmentationScaleMode ZegoBeautyPluginSegmentationScaleMode
getter/setter pair
uiConfig ZegoBeautyPluginUIConfig
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

allEffectsTypes() List<ZegoBeautyPluginEffectsType>
all Effects Types
backgroundEffectsTypes() List<ZegoBeautyPluginEffectsType>
background Effects Types
beautifyEffectsTypes({bool enableBasic = true, bool enableAdvanced = true, bool enableMakeup = true, bool enableStyle = true}) List<ZegoBeautyPluginEffectsType>
beautify Effects Types
filterEffectsTypes() List<ZegoBeautyPluginEffectsType>
filter Effects Types
stickersEffectsTypes() List<ZegoBeautyPluginEffectsType>
stickers Effects Types