Agora Java API Reference for Android
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
io.agora.rtc2.video.FaceShapeBeautyOptions Class Reference

Public Member Functions

 FaceShapeBeautyOptions (int style, int intensity)
 

Public Attributes

int shapeStyle
 
int styleIntensity
 

Static Public Attributes

static final int FACE_SHAPE_BEAUTY_STYLE_FEMALE = 0
 
static final int FACE_SHAPE_BEAUTY_STYLE_MALE = 1
 

Detailed Description

Face shape beauty options. This structure defines options for facial adjustments of different facial styles.

Constructor & Destructor Documentation

◆ FaceShapeBeautyOptions()

io.agora.rtc2.video.FaceShapeBeautyOptions.FaceShapeBeautyOptions ( int  style,
int  intensity 
)

Face shape beauty options.

Parameters
styleThe face shape style, used with the {shapeStyle}: {FACE_SHAPE_BEAUTY_STYLE_FEMALE(0)}: (default) Female face shape style. {FACE_SHAPE_BEAUTY_STYLE_MALE(1)}: Male face shape style.
intensityThe intensity of the pinching effect applied to the specified facial style. The value ranges from 0 (original) to 100. The default value is 0. The greater the value, the stronger the intensity applied to face pinching.

Member Data Documentation

◆ FACE_SHAPE_BEAUTY_STYLE_FEMALE

final int io.agora.rtc2.video.FaceShapeBeautyOptions.FACE_SHAPE_BEAUTY_STYLE_FEMALE = 0
static

0: (Default) Female face shape style.

◆ FACE_SHAPE_BEAUTY_STYLE_MALE

final int io.agora.rtc2.video.FaceShapeBeautyOptions.FACE_SHAPE_BEAUTY_STYLE_MALE = 1
static

1: Male face shape style.

◆ shapeStyle

int io.agora.rtc2.video.FaceShapeBeautyOptions.shapeStyle

◆ styleIntensity

int io.agora.rtc2.video.FaceShapeBeautyOptions.styleIntensity

The intensity of the pinching effect applied to the specified facial style. The value ranges from 0 (original) to 100. The default value is 0. The greater the value, the stronger the intensity applied to face pinching.