io.agora.rtc

## Class AudioSpectrumData

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

-     public class AudioSpectrumData
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private float[]` | `audioSpectrumData`
    `private int` | `dataLength`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AudioSpectrumData()`
    `AudioSpectrumData(float[] audioSpectrumData, int dataLength)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `float[]` | `getAudioSpectrumData()`
    `int` | `getDataLength()`
    `void` | `setAudioSpectrumData(float[] audioSpectrumData)`
    `void` | `setDataLength(int dataLength)`

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

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

- - ### Field Detail

    - #### audioSpectrumData

          private float[] audioSpectrumData

    - #### dataLength

          private int dataLength

  - ### Constructor Detail

    - #### AudioSpectrumData

          public AudioSpectrumData()

    - #### AudioSpectrumData

          public AudioSpectrumData(float[] audioSpectrumData,
                                   int dataLength)

  - ### Method Detail

    - #### getAudioSpectrumData

          public float[] getAudioSpectrumData()

    - #### setAudioSpectrumData

          public void setAudioSpectrumData(float[] audioSpectrumData)

    - #### getDataLength

          public int getDataLength()

    - #### setDataLength

          public void setDataLength(int dataLength)