onAIVoiceChangerGetSpeakerList method
void
onAIVoiceChangerGetSpeakerList()
Get AI voice changer engine available speaker list callback.
Available since: 3.10.0.
Description: Get AI voice changer engine available speaker list callback.
Trigger: The callback triggered when call getSpeakerList
function.
Restrictions: None.
aiVoiceChanger
Callback AI voice changer instance.errorCode
Error code, please refer to the error codes document https://docs.zegocloud.com/en/5548.html for details.speakerList
Available speaker list.
Implementation
void onAIVoiceChangerGetSpeakerList(
ZegoAIVoiceChanger aiVoiceChanger,
int errorCode,
List<ZegoAIVoiceChangerSpeakerInfo> speakerList,
) {}