枚举类的使用
io.agentscope.core.model.tts.Qwen3TTSFlashVoice
使用Qwen3TTSFlashVoice的程序包
-
io.agentscope.core.model.tts中Qwen3TTSFlashVoice的使用
修饰符和类型方法说明static Qwen3TTSFlashVoiceQwen3TTSFlashVoice.fromVoiceId(String voiceId) Find a voice enum by its voiceId (case-insensitive).static Qwen3TTSFlashVoiceQwen3TTSFlashVoice.random()Pick a random voice usingThreadLocalRandom.static Qwen3TTSFlashVoicePick a random voice using the providedRandominstance.static Qwen3TTSFlashVoice返回带有指定名称的该类的枚举常量。static Qwen3TTSFlashVoice[]Qwen3TTSFlashVoice.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同