io.agora.rtc

## Class AudioEncoderConfig

- java.lang.Object
- - io.agora.rtc.AudioEncoderConfig

-     public class AudioEncoderConfig
      extends java.lang.Object

  Configuration for audio encoder settings.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private int` | `audioProfile` Audio profile setting

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AudioEncoderConfig()` Default constructor for AudioEncoderConfig.
    `AudioEncoderConfig(int audioProfile)` Constructs an AudioEncoderConfig with audio profile.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getAudioProfile()` Gets the audio profile.
    `void` | `setAudioProfile(int audioProfile)` Sets the audio profile.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### audioProfile

          private int audioProfile

      Audio profile setting

  - ### Constructor Detail

    - #### AudioEncoderConfig

          public AudioEncoderConfig()

      Default constructor for AudioEncoderConfig.

    - #### AudioEncoderConfig

          public AudioEncoderConfig(int audioProfile)

      Constructs an AudioEncoderConfig with audio profile.
      Parameters:
        `audioProfile` - Audio profile value

  - ### Method Detail

    - #### getAudioProfile

          public int getAudioProfile()

      Gets the audio profile.
      Returns:
        Audio profile value

    - #### setAudioProfile

          public void setAudioProfile(int audioProfile)

      Sets the audio profile.
      Parameters:
        `audioProfile` - Audio profile value