BaseBeautyStore

abstract class BaseBeautyStore

Basic beauty management class, used to handle the adjustment and state management of beauty effects.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Singleton object

Properties

Link copied to clipboard

Beauty state subscription, containing beauty effect levels such as smoothing, whitening, and ruddy. By subscribing to this state, you can get real-time updates of beauty data. {@link BaseBeautyState}

Functions

Link copied to clipboard
abstract fun reset()

Reset all beauty parameters (smoothing, whitening, ruddy) to the default off state (value is 0).

Link copied to clipboard
abstract fun setRuddyLevel(ruddyLevel: Float)

Set ruddy level

Link copied to clipboard
abstract fun setSmoothLevel(smoothLevel: Float)

Set smoothing level

Link copied to clipboard
abstract fun setWhitenessLevel(whitenessLevel: Float)

Set whitening level