Agora Java API Reference for Android
Public Types | Public Member Functions | Public Attributes | List of all members
agora::rtc::BeautyOptions Struct Reference

#include <AgoraBase.h>

Public Types

enum  LIGHTENING_CONTRAST_LEVEL { LIGHTENING_CONTRAST_LOW = 0, LIGHTENING_CONTRAST_NORMAL, LIGHTENING_CONTRAST_HIGH }
 

Public Member Functions

 BeautyOptions (LIGHTENING_CONTRAST_LEVEL contrastLevel, float lightening, float smoothness, float redness, float sharpness)
 

Public Attributes

LIGHTENING_CONTRAST_LEVEL lighteningContrastLevel
 
float lighteningLevel
 
float smoothnessLevel
 
float rednessLevel
 
float sharpnessLevel
 

Detailed Description

Beauty options.

Member Enumeration Documentation

◆ LIGHTENING_CONTRAST_LEVEL

The contrast level, used with the lightening parameter.

Enumerator
LIGHTENING_CONTRAST_LOW 

Low contrast level.

LIGHTENING_CONTRAST_NORMAL 

(Default) Normal contrast level.

LIGHTENING_CONTRAST_HIGH 

High contrast level.

Member Data Documentation

◆ lighteningContrastLevel

LIGHTENING_CONTRAST_LEVEL agora::rtc::BeautyOptions::lighteningContrastLevel

The contrast level, used with the lightening parameter.

◆ lighteningLevel

float agora::rtc::BeautyOptions::lighteningLevel

The brightness level. The value ranges from 0.0 (original) to 1.0.

◆ smoothnessLevel

float agora::rtc::BeautyOptions::smoothnessLevel

The smoothness level. The value ranges between 0 (original) and 1. This parameter is usually used to remove blemishes.

◆ rednessLevel

float agora::rtc::BeautyOptions::rednessLevel

The redness level. The value ranges between 0 (original) and 1. This parameter adjusts the red saturation level.

◆ sharpnessLevel

float agora::rtc::BeautyOptions::sharpnessLevel

The sharpness level. The value ranges between 0 (original) and 1.