public enum AudioSourcePresetType extends java.lang.Enum<AudioSourcePresetType>
Enum Constant and Description |
---|
CamCoder
Uses the mic audio source with the same orientation as the camera if available - the main device mic otherwise
|
Generic
Generic recording configuration on the platform
|
None
Preset "None" cannot be set - it is used to indicate the current settings do not match any of the presets.
|
Unprocessed
Uses the main mic unprocessed (with no effects) - the input will have no AGC (Auto Gain Control) - recorded volume may be very low
|
VoiceCommunication
Uses the main mic tuned for audio communications
|
VoiceRecognition
Uses the main mic tuned for voice recognition
|
Modifier and Type | Method and Description |
---|---|
static AudioSourcePresetType |
fromInt(int i) |
static AudioSourcePresetType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AudioSourcePresetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioSourcePresetType None
public static final AudioSourcePresetType Generic
public static final AudioSourcePresetType CamCoder
public static final AudioSourcePresetType VoiceRecognition
public static final AudioSourcePresetType VoiceCommunication
public static final AudioSourcePresetType Unprocessed
public static AudioSourcePresetType[] values()
for (AudioSourcePresetType c : AudioSourcePresetType.values()) System.out.println(c);
public static AudioSourcePresetType 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 AudioSourcePresetType fromInt(int i)