ZegoFrequencySpectrum Class Reference

Inherits from NSObject
Declared in zego-api-frequency-spectrum-oc.h

+ sharedInstance

频域功率谱 单例对象

+ (instancetype)sharedInstance

Return Value

ZegoFrequencySpectrum 的单例对象

Declared In

zego-api-frequency-spectrum-oc.h

– setFrequencySpectrumDelegate:

设置 频域功率谱 的代理

- (void)setFrequencySpectrumDelegate:(id<ZegoFrequencySpectrumDelegate>)delegate

Parameters

delegate

代理

Declared In

zego-api-frequency-spectrum-oc.h

– setFrequencySpectrumMonitorCycle:

设置获取 频域功率谱 的监控周期

- (BOOL)setFrequencySpectrumMonitorCycle:(unsigned int)timeInMS

Parameters

timeInMS

时间间隔,最小值为10ms,默认为500ms

Return Value

YES 成功,NO 失败

Discussion

在启动监听之前设置有效

Declared In

zego-api-frequency-spectrum-oc.h

– startFrequencySpectrumMonitor

开始 频域功率谱 监听

- (BOOL)startFrequencySpectrumMonitor

Return Value

YES 成功,NO 失败

Declared In

zego-api-frequency-spectrum-oc.h

– stopFrequencySpectrumMonitor

停止 频域功率谱 监听

- (BOOL)stopFrequencySpectrumMonitor

Return Value

YES 成功,NO 失败

Declared In

zego-api-frequency-spectrum-oc.h