Class ConversationTranslationResult
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.RecognitionResult
-
- com.microsoft.cognitiveservices.speech.translation.TranslationRecognitionResult
-
- com.microsoft.cognitiveservices.speech.transcription.ConversationTranslationResult
-
- All Implemented Interfaces:
AutoCloseable
public class ConversationTranslationResult extends TranslationRecognitionResult
Defines a conversation translation result. Added in 1.12.0.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOriginalLang()The original language this result was in.StringgetParticipantId()The unique identifier for the participant this result is for.-
Methods inherited from class com.microsoft.cognitiveservices.speech.translation.TranslationRecognitionResult
getTranslations, toString
-
Methods inherited from class com.microsoft.cognitiveservices.speech.RecognitionResult
close, getDuration, getImpl, getOffset, getProperties, getReason, getResultId, getText
-
-
-
-
Method Detail
-
getOriginalLang
public String getOriginalLang()
The original language this result was in.- Returns:
- The original language this result was in.
-
getParticipantId
public String getParticipantId()
The unique identifier for the participant this result is for.- Returns:
- The unique identifier for the participant this result is for.
-
-