Package com.oracle.bmc.aispeech.model
Enum TtsOracleSpeechSettings.OutputFormat
- java.lang.Object
-
- java.lang.Enum<TtsOracleSpeechSettings.OutputFormat>
-
- com.oracle.bmc.aispeech.model.TtsOracleSpeechSettings.OutputFormat
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<TtsOracleSpeechSettings.OutputFormat>
- Enclosing class:
- TtsOracleSpeechSettings
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
Mp3
public static final TtsOracleSpeechSettings.OutputFormat Mp3
-
Ogg
public static final TtsOracleSpeechSettings.OutputFormat Ogg
-
Pcm
public static final TtsOracleSpeechSettings.OutputFormat Pcm
-
Json
public static final TtsOracleSpeechSettings.OutputFormat Json
-
-
Method Detail
-
values
public static TtsOracleSpeechSettings.OutputFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TtsOracleSpeechSettings.OutputFormat c : TtsOracleSpeechSettings.OutputFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TtsOracleSpeechSettings.OutputFormat valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static TtsOracleSpeechSettings.OutputFormat create(String key)
-
-