Class SpeechRecognitionResult
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.RecognitionResult
-
- com.microsoft.cognitiveservices.speech.SpeechRecognitionResult
-
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
ConversationTranscriptionResult,IntentRecognitionResult,MeetingTranscriptionResult
public class SpeechRecognitionResult extends RecognitionResult
Defines result of speech recognition.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSpeechRecognitionResult(long resultHandle)Internal constructor for creating a SpeechRecognitionResult from a native handle.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Explicitly frees any external resource attached to the objectStringtoString()Returns a String that represents the speech recognition result.-
Methods inherited from class com.microsoft.cognitiveservices.speech.RecognitionResult
getDuration, getImpl, getOffset, getProperties, getReason, getResultId, getText
-
-
-
-
Method Detail
-
close
public void close()
Explicitly frees any external resource attached to the object- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classRecognitionResult
-
-