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:
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應