public static enum Constants.AudioProfile extends java.lang.Enum<Constants.AudioProfile>
Enum Constant and Description |
---|
DEFAULT
0: The default audio profile.
|
MUSIC_HIGH_QUALITY
4: A sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 96 Kbps.
|
MUSIC_HIGH_QUALITY_STEREO
5: A sample rate of 48 kHz, music encoding, stereo, and a bitrate of up to 128 Kbps.
|
MUSIC_STANDARD
2: A sample rate of 48 kHz, music encoding, mono, and a bitrate of up to 64 Kbps.
|
MUSIC_STANDARD_STEREO
3: A sample rate of 48 kHz, music encoding, stereo, and a bitrate of up to 80
Kbps.
|
SPEECH_STANDARD
1: A sample rate of 32 kHz, audio encoding, mono, and a bitrate up to 18 Kbps.
|
Modifier and Type | Method and Description |
---|---|
static int |
getValue(Constants.AudioProfile type) |
static Constants.AudioProfile |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.AudioProfile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.AudioProfile DEFAULT
public static final Constants.AudioProfile SPEECH_STANDARD
public static final Constants.AudioProfile MUSIC_STANDARD
public static final Constants.AudioProfile MUSIC_STANDARD_STEREO
public static final Constants.AudioProfile MUSIC_HIGH_QUALITY
public static final Constants.AudioProfile MUSIC_HIGH_QUALITY_STEREO
public static Constants.AudioProfile[] values()
for (Constants.AudioProfile c : Constants.AudioProfile.values()) System.out.println(c);
public static Constants.AudioProfile 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 static int getValue(Constants.AudioProfile type)