public static enum TtsOracleSpeechSettings.OutputFormat extends Enum<TtsOracleSpeechSettings.OutputFormat> implements BmcEnum
The format of audio in which the user wants the audio to be in. The supported output formats are: - MP3 - OGG - PCM - JSON
Modifier and Type | Method and Description |
---|---|
static TtsOracleSpeechSettings.OutputFormat |
create(String key) |
String |
getValue() |
static TtsOracleSpeechSettings.OutputFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TtsOracleSpeechSettings.OutputFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TtsOracleSpeechSettings.OutputFormat Mp3
public static final TtsOracleSpeechSettings.OutputFormat Ogg
public static final TtsOracleSpeechSettings.OutputFormat Pcm
public static final TtsOracleSpeechSettings.OutputFormat Json
public static TtsOracleSpeechSettings.OutputFormat[] values()
for (TtsOracleSpeechSettings.OutputFormat c : TtsOracleSpeechSettings.OutputFormat.values()) System.out.println(c);
public static TtsOracleSpeechSettings.OutputFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TtsOracleSpeechSettings.OutputFormat create(String key)
Copyright © 2016–2024. All rights reserved.