Package io.agora.rtc2
Enum Class Constants.AudioMixingDualMonoMode
- All Implemented Interfaces:
Serializable,Comparable<Constants.AudioMixingDualMonoMode>,Constable
- Enclosing class:
- Constants
public static enum Constants.AudioMixingDualMonoMode
extends Enum<Constants.AudioMixingDualMonoMode>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription0: Original mode.1: Left channel mode.3: Mixed channel mode.2: Right channel mode. -
Method Summary
Modifier and TypeMethodDescriptionstatic intReturns the enum constant of this class with the specified name.static Constants.AudioMixingDualMonoMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
AUDIO_MIXING_DUAL_MONO_AUTO
0: Original mode. -
AUDIO_MIXING_DUAL_MONO_L
1: Left channel mode. This mode replaces the audio of the right channel with the audio of the left channel, which means the user can only hear the audio of the left channel. -
AUDIO_MIXING_DUAL_MONO_R
2: Right channel mode. This mode replaces the audio of the left channel with the audio of the right channel, which means the user can only hear the audio of the right channel. -
AUDIO_MIXING_DUAL_MONO_MIX
3: Mixed channel mode. This mode mixes the audio of the left channel and the right channel, which means the user can hear the audio of the left channel and the right channel at the same time.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-