destroyAIVoiceChanger method

Future<void> destroyAIVoiceChanger(
  1. ZegoAIVoiceChanger aiVoiceChanger
)

Destroys an AI voice changer instance.

Available since: 3.10.0 Description: Destroys the AI voice changer instance. Related APIs: User can call createAIVoiceChanger function to create an AI voice changer instance.

  • aiVoiceChanger The AI voice changer instance object to be destroyed.

Implementation

Future<void> destroyAIVoiceChanger(ZegoAIVoiceChanger aiVoiceChanger) async {
  return await ZegoExpressImpl.instance.destroyAIVoiceChanger(aiVoiceChanger);
}