public enum SpeechSynthesisAudioFormat extends Enum<SpeechSynthesisAudioFormat>
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBitRate() |
String |
getChannels() |
String |
getFormat() |
int |
getSampleRate() |
String |
toString() |
static SpeechSynthesisAudioFormat |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SpeechSynthesisAudioFormat[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SpeechSynthesisAudioFormat DEFAULT
public static final SpeechSynthesisAudioFormat WAV_8000HZ_MONO_16BIT
public static final SpeechSynthesisAudioFormat WAV_16000HZ_MONO_16BIT
public static final SpeechSynthesisAudioFormat WAV_22050HZ_MONO_16BIT
public static final SpeechSynthesisAudioFormat WAV_24000HZ_MONO_16BIT
public static final SpeechSynthesisAudioFormat WAV_44100HZ_MONO_16BIT
public static final SpeechSynthesisAudioFormat WAV_48000HZ_MONO_16BIT
public static final SpeechSynthesisAudioFormat MP3_8000HZ_MONO_128KBPS
public static final SpeechSynthesisAudioFormat MP3_16000HZ_MONO_128KBPS
public static final SpeechSynthesisAudioFormat MP3_22050HZ_MONO_256KBPS
public static final SpeechSynthesisAudioFormat MP3_24000HZ_MONO_256KBPS
public static final SpeechSynthesisAudioFormat MP3_44100HZ_MONO_256KBPS
public static final SpeechSynthesisAudioFormat MP3_48000HZ_MONO_256KBPS
public static final SpeechSynthesisAudioFormat PCM_8000HZ_MONO_16BIT
public static final SpeechSynthesisAudioFormat PCM_16000HZ_MONO_16BIT
public static final SpeechSynthesisAudioFormat PCM_22050HZ_MONO_16BIT
public static final SpeechSynthesisAudioFormat PCM_24000HZ_MONO_16BIT
public static final SpeechSynthesisAudioFormat PCM_44100HZ_MONO_16BIT
public static final SpeechSynthesisAudioFormat PCM_48000HZ_MONO_16BIT
public static SpeechSynthesisAudioFormat[] values()
for (SpeechSynthesisAudioFormat c : SpeechSynthesisAudioFormat.values()) System.out.println(c);
public static SpeechSynthesisAudioFormat valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getFormat()
public int getSampleRate()
public String getChannels()
public String getBitRate()
public String toString()
toString 在类中 Enum<SpeechSynthesisAudioFormat>Copyright © 2024. All rights reserved.