Package io.agora.rtc2

Enum Class Constants.AudioMixingDualMonoMode

java.lang.Object
java.lang.Enum<Constants.AudioMixingDualMonoMode>
io.agora.rtc2.Constants.AudioMixingDualMonoMode
All Implemented Interfaces:
Serializable, Comparable<Constants.AudioMixingDualMonoMode>, Constable
Enclosing class:
Constants

public static enum Constants.AudioMixingDualMonoMode extends Enum<Constants.AudioMixingDualMonoMode>
  • Enum Constant Details

    • AUDIO_MIXING_DUAL_MONO_AUTO

      public static final Constants.AudioMixingDualMonoMode AUDIO_MIXING_DUAL_MONO_AUTO
      0: Original mode.
    • AUDIO_MIXING_DUAL_MONO_L

      public static final Constants.AudioMixingDualMonoMode 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

      public static final Constants.AudioMixingDualMonoMode 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

      public static final Constants.AudioMixingDualMonoMode 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

      public static Constants.AudioMixingDualMonoMode[] 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

      public static Constants.AudioMixingDualMonoMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public static int getValue(Constants.AudioMixingDualMonoMode type)