public enum AudioFormat extends Enum<AudioFormat>
TextToSpeech service.| Enum Constant and Description |
|---|
FLAC
FLAC format (value is "audio/flac").
|
OGG
OGG format (value is "audio/ogg; codecs=opus").
|
WAV
WAV format (value is "audio/wav").
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static AudioFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AudioFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioFormat FLAC
public static final AudioFormat OGG
public static final AudioFormat WAV
public static AudioFormat[] values()
for (AudioFormat c : AudioFormat.values()) System.out.println(c);
public static AudioFormat 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 String toString()
toString in class Enum<AudioFormat>Copyright © 2015–2016. All rights reserved.