Enum Class的使用
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 Qwen3TTSFlashVoiceReturns the enum constant of this class with the specified name.static Qwen3TTSFlashVoice[]Qwen3TTSFlashVoice.values()Returns an array containing the constants of this enum class, in the order they are declared.