public enum AudioCompressionType extends java.lang.Enum<AudioCompressionType>
Enum Constant and Description |
---|
PCM
Indicates uncompressed audio
|
Siren7
Indicates compressed audio
|
Modifier and Type | Method and Description |
---|---|
static AudioCompressionType |
Create(int value)
Convert an integer to its corresponding AudioCompressionType.
|
short |
getValue()
Gets the integer value of the AudioCompressionType.
|
static AudioCompressionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AudioCompressionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioCompressionType PCM
public static final AudioCompressionType Siren7
public static AudioCompressionType[] values()
for (AudioCompressionType c : AudioCompressionType.values()) System.out.println(c);
public static AudioCompressionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final short getValue()
public static AudioCompressionType Create(int value)
value
- an integer representation of AudioCompressionType.