SpeechResult Class
- java.
lang. Object - com.
azure. communication. callautomation. models. RecognizeResult - com.
azure. communication. callautomation. models. SpeechResult
- com.
- com.
public final class SpeechResult
extends RecognizeResult
The continuous speech recognition result.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Speech |
fromJson(JsonReader jsonReader)
Reads an instance of Speech |
| String |
getSpeech()
Get the speech property: The recognized speech in string. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static SpeechResult fromJson(JsonReader jsonReader)
Reads an instance of SpeechResult from the JsonReader.
Parameters:
Returns:
Throws:
getSpeech
public String getSpeech()
Get the speech property: The recognized speech in string.
Returns: