enableVoiceAITuner abstract method

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

Enables or disables the AI tuner feature.

The AI tuner feature enhances audio quality and adjusts voice tone style.

  • enabled Whether to enable the AI tuner feature: true : Enable the AI tuner feature. false : (default) Disable the AI tuner feature.
  • type AI tuner effect type. 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. See Error Codes for details and resolution suggestions.

Implementation

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