enableVoiceAITuner abstract method

Future<void> enableVoiceAITuner({
  1. required bool enabled,
  2. required VoiceAiTunerType type,
})

Enables or disables the voice AI tuner.

The voice AI tuner supports enhancing sound quality and adjusting tone style.

  • enabled Whether to enable the voice AI tuner: true : Enables the voice AI tuner. false : (Default) Disable the voice AI tuner.
  • type Voice AI tuner sound types, see VoiceAiTunerType.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> enableVoiceAITuner(
    {required bool enabled, required VoiceAiTunerType type});