SpeechRecognitionResult Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. RecognitionResult - com.
microsoft. cognitiveservices. speech. SpeechRecognitionResult
- com.
- com.
public class SpeechRecognitionResult
extends RecognitionResult
Defines result of speech recognition.
Constructor Summary
Modifier | Constructor | Description |
---|---|---|
protected | SpeechRecognitionResult(long resultHandle) |
Internal constructor for creating a Speech |
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
close()
Explicitly frees any external resource attached to the object |
java.lang.String |
toString()
Returns a String that represents the speech recognition result. |
Methods inherited from RecognitionResult
Methods inherited from java.lang.Object
Constructor Details
SpeechRecognitionResult
protected SpeechRecognitionResult(long resultHandle)
Internal constructor for creating a SpeechRecognitionResult from a native handle.
Parameters:
Method Details
close
public void close()
Explicitly frees any external resource attached to the object
Overrides:
SpeechRecognitionResult.close()toString
public String toString()
Returns a String that represents the speech recognition result.
Overrides:
SpeechRecognitionResult.toString()Returns:
Applies to
Azure SDK for Java