# io.agora.rtc.VadProcessResult类 参考 (/zh-CN/api-reference/rtc-server-sdk/java/classio-1-1agora-1-1rtc-1-1-vad-process-result)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
VadProcessResult 类,包含 VAD 检测结果。
## 构造及析构函数说明 [#构造及析构函数说明]
### VadProcessResult() [#vadprocessresult]
io.agora.rtc.VadProcessResult.VadProcessResult(byte[] *outFrame*, Constants.VadState *state*)
Constructor for VadProcessResult.
The output frame after VAD processing
The state of the VAD process
## 成员函数说明 [#成员函数说明]
### getOutFrame() [#getoutframe]
byte[] io.agora.rtc.VadProcessResult.getOutFrame()
Gets the output frame.
返回值
The output frame after VAD processing
### getState() [#getstate]
Constants.VadState io.agora.rtc.VadProcessResult.getState()
Gets the state of the VAD process.
返回值
The state of the VAD process
### setOutFrame() [#setoutframe]
void io.agora.rtc.VadProcessResult.setOutFrame(byte[] *outFrame*)
Sets the output frame.
The output frame after VAD processing
### setState() [#setstate]
void io.agora.rtc.VadProcessResult.setState(Constants.VadState *state*)
Sets the state of the VAD process.
The state of the VAD process
### toString() [#tostring]
String io.agora.rtc.VadProcessResult.toString()
Returns a string representation of the VadProcessResult.
返回值
A string representation of the object
## 类成员变量说明 [#类成员变量说明]
### outFrame [#outframe]
byte [] io.agora.rtc.VadProcessResult.outFrame
VAD 处理后输出的音频数据。
### state [#state]
Constants.VadState io.agora.rtc.VadProcessResult.state
VAD 状态结果:
- Unknown(-1):结果未知
- NONE_SPEAKING(0):没有人讲话
- START_SPEAKING(1):开始讲话
- SPEAKING(2):正在讲话
- STOP_SPEAKING(3):停止讲话
---
该类的文档由以下文件生成:
- VadProcessResult.java