public enum AudioFormat extends Enum<AudioFormat>
| Modifier and Type | Method and Description |
|---|---|
static AudioFormat |
fromString(String value) |
String |
getValue() |
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 WAV
public static final AudioFormat PCM
public static final AudioFormat OGG_OPUS
public static final AudioFormat M4A
public static final AudioFormat AAC
public static final AudioFormat MP3
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 getValue()
public static AudioFormat fromString(String value)
Copyright © 2024. All rights reserved.