Package com.vonage.client.incoming
Class SpeechResults
java.lang.Object
com.vonage.client.incoming.SpeechResults
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated.Represents the timeout reason in getTimeoutReason(). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetError()Deprecated.Error message.Deprecated.Speech recording URL.Deprecated.The recognised text objects.Deprecated.Indicates if the input ended when user stopped speaking, by max duration timeout or if the user didn't say anything.voidsetResults(Collection<Result> results) Deprecated.This setter will be removed in a future release.voidsetTimeoutReason(SpeechResults.TimeoutReason timeoutReason) Deprecated.This setter will be removed in a future release.
-
Constructor Details
-
SpeechResults
public SpeechResults()Deprecated.
-
-
Method Details
-
getRecordingUrl
Deprecated.Speech recording URL. Included if thesaveAudioflag is set totruein the input action. Requires JWT authorization for downloading see Download a Recording documentation for details.- Returns:
- The recording URL, or
nullif absent. - Since:
- 8.2.0
-
getError
Deprecated.Error message.- Returns:
- The error message, or
nullif absent / not applicable.
-
getTimeoutReason
Deprecated.Indicates if the input ended when user stopped speaking, by max duration timeout or if the user didn't say anything.- Returns:
- Reason for the timeout as an enum.
-
setTimeoutReason
Deprecated.This setter will be removed in a future release.- Parameters:
timeoutReason- Indicates whether the input ended when the user stopped speaking, by the max duration timeout, or if the user didn't say anything.
-
getResults
Deprecated.The recognised text objects.- Returns:
- The collection of transcript texts, or
nullif there are none.
-
setResults
Deprecated.This setter will be removed in a future release.- Parameters:
results- list of speech recognition results that displays the words(s) that the user spoke and the likelihood that the recognized word(s) in the list where the actual word(s) that the user spoke.
-
SpeechResults.