Agora Java API Reference for Android

Public Member Functions | List of all members
io.agora.rtc2.audio.AudioSpectrumInfo Class Reference

The audio spectrum data. More...

## Public Member Functions
| AudioSpectrumInfo (float[] audioSpectrumData, int dataLength)
float[] | getAudioSpectrumData ()
int | getDataLength ()

## Detailed Description

The audio spectrum data.

## Constructor & Destructor Documentation

## ◆ AudioSpectrumInfo()

io.agora.rtc2.audio.AudioSpectrumInfo.AudioSpectrumInfo | ( | float[] | audioSpectrumData,
|  | int | dataLength
| ) |  |

Parameters

  audioSpectrumData | which reports the audio spectrum of each remote speaker.
  dataLength | the length of audio spectrum data.