onAIVoiceChangerUpdateProgress property

(void Function(ZegoAIVoiceChanger aiVoiceChanger, double percent, int fileIndex, int fileCount)?) onAIVoiceChangerUpdateProgress
read / write

更新 AI 变声引擎模型进度回调。

支持版本:3.12.0 及以上。 详情描述:更新 AI 变声引擎模型进出回调。 通知时机:调用 update 函数时会触发此回调。 使用限制:无。

  • aiVoiceChanger 回调的 AI 变声器实例。
  • percent 当前文件更新进度。
  • fileIndex 当前更新文件索引。
  • fileCount 需要更新文件总数。

Implementation

static void Function(ZegoAIVoiceChanger aiVoiceChanger, double percent,
    int fileIndex, int fileCount)? onAIVoiceChangerUpdateProgress;