Agora RTC Objective-C API Reference Refactor

Data Fields
AudioSpectrumData Struct Reference

## Data Fields
const float * | audioSpectrumData
int | dataLength

## Constructor & Destructor Documentation

## ◆ AudioSpectrumData() [1/2]

AudioSpectrumData | ( |  | ) |
| inline

## ◆ AudioSpectrumData() [2/2]

AudioSpectrumData | ( | const float * | data,
|  | int | length
| ) |  |
| inline

## Field Documentation

## ◆ audioSpectrumData

const float* audioSpectrumData

The audio spectrum data. Agora divides the audio frequency into 256 frequency domains, and reports the energy value of each frequency domain through this parameter. The value range of each energy type is [-300, 1] and the unit is dBFS.

## ◆ dataLength

int dataLength

The audio spectrum data length is 256.