Package com.vonage.client.conversations
Class AudioRecordEvent
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.conversations.Event
com.vonage.client.conversations.AudioRecordEvent
- All Implemented Interfaces:
Jsonable
Represents an
EventType.AUDIO_RECORD event.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for setting the Audio Record event parameters. -
Method Summary
Modifier and TypeMethodDescriptionstatic AudioRecordEvent.Builderbuilder()Entry point for constructing an instance of this class.Whether to enable beep start.Whether to enable beep stop.Number of channels for the recording.Whether to detect speech in the recording.File format for the recording.Text-to-speech transcription language.Whether the audio has multiple tracks.Whether sentiment analysis is enabled.getSplit()Whether the audio is split.Whether the audio recording is streamed.The validity parameter.Methods inherited from class com.vonage.client.conversations.Event
getFrom, getFromMember, getFromUser, getId, getTimestamp, getTypeMethods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Method Details
-
getLanguage
Text-to-speech transcription language.- Returns:
- The transcription language as an enum, or
nullif unspecified.
-
getSentimentAnalysis
Whether sentiment analysis is enabled.- Returns:
trueif sentiment analysis is enabled, ornullif transcription is not enabled.
-
getFormat
File format for the recording.- Returns:
- The recording format as a string, or
nullif unspecified.
-
getValidity
The validity parameter.- Returns:
- The validity as an integer, or
nullif unspecified.
-
getChannels
Number of channels for the recording.- Returns:
- The number of channels as an Integer, or
nullif unspecified.
-
getStreamed
Whether the audio recording is streamed.- Returns:
trueif the recording is streamed, ornullif unspecified.
-
getSplit
Whether the audio is split.- Returns:
trueif the recording is split, ornullif unspecified.
-
getMultitrack
Whether the audio has multiple tracks.- Returns:
trueif the recording is multi-track, ornullif unspecified.
-
getDetectSpeech
Whether to detect speech in the recording.- Returns:
trueif speech detection is enabled, ornullif unspecified.
-
getBeepStart
Whether to enable beep start.- Returns:
trueif beep start, ornullif unspecified.
-
getBeepStop
Whether to enable beep stop.- Returns:
trueif beep stop, ornullif unspecified.
-
builder
Entry point for constructing an instance of this class.- Returns:
- A new Builder.
-