|
Agora Server Gateway SDK Java API Reference
|
Public Member Functions | |
| VadProcessResult (byte[] outFrame, Constants.VadState state) | |
| byte[] | getOutFrame () |
| void | setOutFrame (byte[] outFrame) |
| Constants.VadState | getState () |
| void | setState (Constants.VadState state) |
| String | toString () |
Private Attributes | |
| byte[] | outFrame |
| Constants.VadState | state |
The VadProcessResult class, which represents the result of a Voice Activity Detection (VAD) process.
| io.agora.rtc.VadProcessResult.VadProcessResult | ( | byte[] | outFrame, |
| Constants.VadState | state ) |
Constructor for VadProcessResult.
| outFrame | The output frame after VAD processing |
| state | The state of the VAD process |
| byte[] io.agora.rtc.VadProcessResult.getOutFrame | ( | ) |
Gets the output frame.
| Constants.VadState io.agora.rtc.VadProcessResult.getState | ( | ) |
Gets the state of the VAD process.
| void io.agora.rtc.VadProcessResult.setOutFrame | ( | byte[] | outFrame | ) |
Sets the output frame.
| outFrame | The output frame after VAD processing |
| void io.agora.rtc.VadProcessResult.setState | ( | Constants.VadState | state | ) |
Sets the state of the VAD process.
| state | The state of the VAD process |
| String io.agora.rtc.VadProcessResult.toString | ( | ) |
Returns a string representation of the VadProcessResult.
|
private |
The output frame after VAD processing.
|
private |
The state of the VAD process: