Package io.agora.mediaplayer
Enum Class Constants.AudioDualMonoMode
- All Implemented Interfaces:
Serializable,Comparable<Constants.AudioDualMonoMode>,Constable
- Enclosing class:
- Constants
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription1: Left channel mode.3: Mixed channel mode.2: Right channel mode.0: Original mode. -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic Constants.AudioDualMonoModeReturns the enum constant of this class with the specified name.static Constants.AudioDualMonoMode[]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_DUAL_MONO_STEREO
0: Original mode. -
AUDIO_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_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_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
-