|
Agora Server Gateway SDK Java API Reference
|
Public Member Functions | |
| AudioVolumeInfo () | |
| AudioVolumeInfo (java.lang.String userId, int volume, int vad, double voicePitch) | |
| java.lang.String | getUserId () |
| void | setUserId (java.lang.String userId) |
| int | getVolume () |
| void | setVolume (int volume) |
| int | getVad () |
| void | setVad (int vad) |
| double | getVoicePitch () |
| void | setVoicePitch (double voicePitch) |
Private Attributes | |
| java.lang.String | userId |
| int | volume |
| int | vad |
| double | voicePitch |
The AudioVolumeInfo class.
| io.agora.rtc.AudioVolumeInfo.AudioVolumeInfo | ( | ) |
| io.agora.rtc.AudioVolumeInfo.AudioVolumeInfo | ( | java.lang.String | userId, |
| int | volume, | ||
| int | vad, | ||
| double | voicePitch ) |
Constructor.
| userId | User ID of the speaker. |
| volume | The volume of the speaker that ranges from 0 to 255. |
| vad | The activity status of remote users |
| voicePitch | Voice pitch frequency in Hz. |
| java.lang.String io.agora.rtc.AudioVolumeInfo.getUserId | ( | ) |
| int io.agora.rtc.AudioVolumeInfo.getVad | ( | ) |
| double io.agora.rtc.AudioVolumeInfo.getVoicePitch | ( | ) |
| int io.agora.rtc.AudioVolumeInfo.getVolume | ( | ) |
| void io.agora.rtc.AudioVolumeInfo.setUserId | ( | java.lang.String | userId | ) |
| void io.agora.rtc.AudioVolumeInfo.setVad | ( | int | vad | ) |
| void io.agora.rtc.AudioVolumeInfo.setVoicePitch | ( | double | voicePitch | ) |
| void io.agora.rtc.AudioVolumeInfo.setVolume | ( | int | volume | ) |
|
private |
|
private |
|
private |
|
private |