setBeautyLevel method

  1. @override
void setBeautyLevel(
  1. int beautyStyle,
  2. int beautyLevel
)
override

12.2 Set beauty level

Implementation

@override
void setBeautyLevel(int beautyStyle, int beautyLevel) async {
  TRTCCloud trtcCloud = (await TRTCCloud.sharedInstance())!;
  trtcCloud.getBeautyManager().setBeautyStyle(beautyStyle);
  trtcCloud.getBeautyManager().setBeautyLevel(beautyLevel);
}