setBeautyEffectOptions abstract method

Future<void> setBeautyEffectOptions(
  1. bool enabled,
  2. BeautyOptions options
)

Sets the image enhancement options. Enables or disables image enhancement, and sets the options. Enabling the image enhancement function involves a series of method calls. The calling sequence is as follows: Call (agora, beauty, true) to enable the extension. Call enableVideo to enable the video module. Call this method to enable the image enhancement function. Call this method after enableVideo .

Param enabled Whether to enable the image enhancement function: true: Enable the image enhancement function. false: (Default) Disable the image enhancement function.

Param options The image enhancement options. See BeautyOptions .

Implementation

Future<void> setBeautyEffectOptions(bool enabled, BeautyOptions options);