# BeautyOptions (/zh-CN/api-reference/rtc/android/class-beautyoptions)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="class_beautyoptions__prototype"></a>

```java
public class BeautyOptions {
  public static final int LIGHTENING_CONTRAST_LOW = 0;
  public static final int LIGHTENING_CONTRAST_NORMAL = 1;
  public static final int LIGHTENING_CONTRAST_HIGH = 2;
  public int lighteningContrastLevel;
  public float lighteningLevel;
  public float smoothnessLevel;
  public float rednessLevel;
  public float sharpnessLevel;
}
```

<a id="class_beautyoptions__parameters"></a>

## 属性 [#属性]

<ParameterList>
<a id="lightening_contrast_low"></a>
<Parameter name="LIGHTENING_CONTRAST_LOW">

（0）：用于亮肤的低对比度。

</Parameter>
<a id="lightening_contrast_normal"></a>
<Parameter name="LIGHTENING_CONTRAST_NORMAL">

（1）：用于亮肤的标准对比度。

</Parameter>
<a id="lightening_contrast_high"></a>
<Parameter name="LIGHTENING_CONTRAST_HIGH">

（2）：用于亮肤的高对比度。

</Parameter>
<a id="lighteningcontrastlevel"></a>
<Parameter name="lighteningContrastLevel">

与 `lighteningLevel` 参数配合使用，用于设置亮度对比度等级。值越大，明暗对比度越高。可选取值如下：

- `LIGHTENING_CONTRAST_LOW`（0）：低对比度。
- `LIGHTENING_CONTRAST_NORMAL`（1）：标准对比度。
- `LIGHTENING_CONTRAST_HIGH`（2）：高对比度。

</Parameter>
<a id="lighteninglevel"></a>
<Parameter name="lighteningLevel">

亮肤等级，取值范围为 [0.0, 1.0]，其中 0.0 表示原始亮度。默认值为 0.6。数值越大，亮肤效果越明显。

</Parameter>
<a id="smoothnesslevel"></a>
<Parameter name="smoothnessLevel">

磨皮等级，取值范围为 [0.0, 1.0]，其中 0.0 表示原始光滑度。默认值为 0.5。数值越大，磨皮效果越强。

</Parameter>
<a id="rednesslevel"></a>
<Parameter name="rednessLevel">

红润等级，取值范围为 [0.0, 1.0]，其中 0.0 表示原始红润程度。默认值为 0.1。数值越大，红润效果越明显。

</Parameter>
<a id="sharpnesslevel"></a>
<Parameter name="sharpnessLevel">

锐化等级，取值范围为 [0.0, 1.0]，其中 0.0 表示原始锐度。默认值为 0.3。数值越大，图像越清晰。

</Parameter>
</ParameterList>
