Enum Class Constants.AudioDualMonoMode

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

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

    • AUDIO_DUAL_MONO_STEREO

      public static final Constants.AudioDualMonoMode AUDIO_DUAL_MONO_STEREO
      0: Original mode.
    • AUDIO_DUAL_MONO_L

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

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

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

      public static Constants.AudioDualMonoMode[] 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.AudioDualMonoMode 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.AudioDualMonoMode mode)