Package com.avaya.clientservices.media.audio

## Class AudioCapturerConfig

- java.lang.Object
- - com.avaya.clientservices.media.audio.AudioCapturerConfig

-     public class AudioCapturerConfig
      extends java.lang.Object

  Contains configuration for audio capturer

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AudioCapturerConfig()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `AudioCapturerMode` | `getCaptureMode()` | Gets capture mode
    `int` | `getSampleRate()` | Gets sample rate for audio stream
    `AudioCapturerConfig` | `setCaptureMode​(AudioCapturerMode mode)` | Sets capture mode
    `AudioCapturerConfig` | `setSampleRate​(int sampleRate)` | Sets sample rate for audio stream.

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

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

- - ### Constructor Detail

    - #### AudioCapturerConfig

          public AudioCapturerConfig()

  - ### Method Detail

    - #### setCaptureMode

          public AudioCapturerConfig setCaptureMode​(AudioCapturerMode mode)

      Sets capture mode
      Parameters:
        `mode` - Capture mode
      Returns:
        this object

    - #### getCaptureMode

          public AudioCapturerMode getCaptureMode()

      Gets capture mode
      Returns:
        configured capture mode

    - #### setSampleRate

          public AudioCapturerConfig setSampleRate​(int sampleRate)

      Sets sample rate for audio stream. Supported 48 kHz, 16 kHz, 8 kHz
      Parameters:
        `sampleRate` - target sample rate in Hz
      Returns:
        this object

    - #### getSampleRate

          public int getSampleRate()

      Gets sample rate for audio stream
      Returns:
        sample rate