Agora Objective-C API Reference for iOS/macOS

AgoraBeautyOptions Class Reference

Inherits from NSObject
Declared in AgoraObjects.h

Overview

The image enhancement options in setBeautyEffectOptions.

  lighteningContrastLevel

The lightening contrast level

@property (nonatomic, assign) AgoraLighteningContrastLevel lighteningContrastLevel

Discussion

AgoraLighteningContrastLevel, used with the lighteningLevel property:

  • 0: low contrast level.
  • 1: (default) normal contrast level.
  • 2: high contrast level.

Declared In

AgoraObjects.h

  lighteningLevel

The brightness level.

@property (nonatomic, assign) float lighteningLevel

Discussion

The value ranges from 0.0 (original) to 1.0.

Declared In

AgoraObjects.h

  smoothnessLevel

The sharpness level.

@property (nonatomic, assign) float smoothnessLevel

Discussion

The value ranges from 0.0 (original) to 1.0. This parameter is usually used to remove blemishes.

Declared In

AgoraObjects.h

  rednessLevel

The redness level.

@property (nonatomic, assign) float rednessLevel

Discussion

The value ranges from 0.0 (original) to 1.0. This parameter adjusts the red saturation level.

Declared In

AgoraObjects.h

X
Is this page helpful?