onAIVoiceChangerGetSpeakerList property

(void Function(ZegoAIVoiceChanger aiVoiceChanger, int errorCode, List<ZegoAIVoiceChangerSpeakerInfo> speakerList)?) onAIVoiceChangerGetSpeakerList
getter/setter pair

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

static void Function(ZegoAIVoiceChanger aiVoiceChanger, int errorCode,
        List<ZegoAIVoiceChangerSpeakerInfo> speakerList)?
    onAIVoiceChangerGetSpeakerList;