ConversationTranscriptionResult Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. RecognitionResult - com.
microsoft. cognitiveservices. speech. SpeechRecognitionResult - com.
microsoft. cognitiveservices. speech. transcription. ConversationTranscriptionResult
- com.
- com.
- com.
public class ConversationTranscriptionResult
extends SpeechRecognitionResult
Class that defines conversation transcription result.
Constructor Summary
Modifier | Constructor | Description |
---|---|---|
protected | ConversationTranscriptionResult(long result) |
Internal constructor for creating a Conversation |
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
close()
Explicitly frees any external resource attached to the object |
java.lang.String |
getSpeakerId()
A String that represents the speaker id in the conversation. |
java.lang.String |
toString()
Returns a String that represents the conversation transcription result. |
Methods inherited from RecognitionResult
Methods inherited from SpeechRecognitionResult
Methods inherited from java.lang.Object
Constructor Details
ConversationTranscriptionResult
protected ConversationTranscriptionResult(long result)
Internal constructor for creating a ConversationTranscriptionResult from a native handle.
Parameters:
Method Details
close
public void close()
Explicitly frees any external resource attached to the object
Overrides:
ConversationTranscriptionResult.close()getSpeakerId
public String getSpeakerId()
A String that represents the speaker id in the conversation.
Returns:
toString
public String toString()
Returns a String that represents the conversation transcription result.
Overrides:
ConversationTranscriptionResult.toString()Returns: