setLocalVoiceChanger method Null safety

Future<void> setLocalVoiceChanger(
  1. AudioVoiceChanger voiceChanger
)

Sets the local voice changer option.

Deprecated

This method is deprecated since v3.2.1. Use RtcEngine.setAudioEffectPreset or RtcEngine.setVoiceBeautifierPreset instead.

Note

Parameter voiceChanger The local voice changer option. See AudioVoiceChanger.

Implementation

@override
@deprecated
Future<void> setLocalVoiceChanger(AudioVoiceChanger voiceChanger) {
  return _invokeMethod('setLocalVoiceChanger', {
    'voiceChanger': AudioVoiceChangerConverter(voiceChanger).value(),
  });
}