Class MeetingTranscriptionResult
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.RecognitionResult
-
- com.microsoft.cognitiveservices.speech.SpeechRecognitionResult
-
- com.microsoft.cognitiveservices.speech.transcription.MeetingTranscriptionResult
-
- All Implemented Interfaces:
AutoCloseable
public class MeetingTranscriptionResult extends SpeechRecognitionResult
Class that defines meeting transcription result.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMeetingTranscriptionResult(long result)Internal constructor for creating a MeetingTranscriptionResult 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 objectStringgetUserId()A String that represents the user id in the meeting.StringgetUtteranceId()A string that represents the utterance.StringtoString()Returns a String that represents the meeting transcription 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 classSpeechRecognitionResult
-
getUserId
public String getUserId()
A String that represents the user id in the meeting.- Returns:
- the user ID string.
-
getUtteranceId
public String getUtteranceId()
A string that represents the utterance. This id is consistence for intermediates and final speech recognition result from one speaker.- Returns:
- the utterance ID string.
-
toString
public String toString()
Returns a String that represents the meeting transcription result.- Overrides:
toStringin classSpeechRecognitionResult- Returns:
- A String that represents the meeting transcription result.
-
-