public enum RecordingAudioCodec extends java.lang.Enum<RecordingAudioCodec>
Enum Constant and Description |
---|
None
No codec set.
|
Opus
Opus Audio.
|
WavPCM
WAV format, linear PCM, uncompressed.
|
Modifier and Type | Method and Description |
---|---|
static RecordingAudioCodec |
fromValue(long v) |
static RecordingAudioCodec |
fromValue(java.lang.String v) |
int |
value() |
static RecordingAudioCodec |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RecordingAudioCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordingAudioCodec None
public static final RecordingAudioCodec WavPCM
public static final RecordingAudioCodec Opus
public static RecordingAudioCodec[] values()
for (RecordingAudioCodec c : RecordingAudioCodec.values()) System.out.println(c);
public static RecordingAudioCodec 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 int value()
public static RecordingAudioCodec fromValue(long v)
public static RecordingAudioCodec fromValue(java.lang.String v)