public class AudioVolumeInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
userId
User ID of the audio source
|
private int |
vad
Voice Activity Detection (VAD) result
|
private double |
voicePitch
Pitch of the voice
|
private int |
volume
Volume level of the audio
|
| Constructor and Description |
|---|
AudioVolumeInfo()
Default constructor for AudioVolumeInfo.
|
AudioVolumeInfo(java.lang.String userId,
int volume,
int vad,
double voicePitch)
Constructs AudioVolumeInfo with all parameters.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getUserId()
Gets the user ID of the audio source.
|
int |
getVad()
Gets the Voice Activity Detection (VAD) result.
|
double |
getVoicePitch()
Gets the pitch of the voice.
|
int |
getVolume()
Gets the volume level of the audio.
|
void |
setUserId(java.lang.String userId)
Sets the user ID of the audio source.
|
void |
setVad(int vad)
Sets the Voice Activity Detection (VAD) result.
|
void |
setVoicePitch(double voicePitch)
Sets the pitch of the voice.
|
void |
setVolume(int volume)
Sets the volume level of the audio.
|
java.lang.String |
toString() |
private java.lang.String userId
private int volume
private int vad
private double voicePitch
public AudioVolumeInfo()
public AudioVolumeInfo(java.lang.String userId,
int volume,
int vad,
double voicePitch)
userId - User ID of the audio sourcevolume - Volume level of the audiovad - Voice Activity Detection (VAD) resultvoicePitch - Pitch of the voicepublic java.lang.String getUserId()
public void setUserId(java.lang.String userId)
userId - User ID of the audio sourcepublic int getVolume()
public void setVolume(int volume)
volume - Volume level of the audiopublic int getVad()
public void setVad(int vad)
vad - VAD resultpublic double getVoicePitch()
public void setVoicePitch(double voicePitch)
voicePitch - Pitch of the voicepublic java.lang.String toString()
toString in class java.lang.Object