io.agora.rtc.apm

## Class AgcConfig

- java.lang.Object
- - io.agora.rtc.apm.AgcConfig

-     public class AgcConfig
      extends java.lang.Object

  Automatic Gain Control (AGC) configuration. Used for automatic volume level control in audio processing.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private boolean` | `enabled` Enable or disable AGC Default: false (disabled)

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AgcConfig()` Constructs an AgcConfig with default settings.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isEnabled()` Returns whether AGC is enabled.
    `void` | `setEnabled(boolean enabled)` Sets whether to enable AGC.
    `java.lang.String` | `toString()`

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

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

- - ### Field Detail

    - #### enabled

          private boolean enabled

      Enable or disable AGC Default: false (disabled)

  - ### Constructor Detail

    - #### AgcConfig

          public AgcConfig()

      Constructs an AgcConfig with default settings.

  - ### Method Detail

    - #### isEnabled

          public boolean isEnabled()

      Returns whether AGC is enabled.
      Returns:
        Whether AGC is enabled

    - #### setEnabled

          public void setEnabled(boolean enabled)

      Sets whether to enable AGC.
      Parameters:
        `enabled` - Whether to enable AGC

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`