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 default value is 0.7. 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 default value is 0.5. 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 default value is 0.1. 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?