Class ConversationTranslationEventArgs
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.SessionEventArgs
-
- com.microsoft.cognitiveservices.speech.RecognitionEventArgs
-
- com.microsoft.cognitiveservices.speech.transcription.ConversationTranslationEventArgs
-
- Direct Known Subclasses:
ConversationTranslationCanceledEventArgs
public class ConversationTranslationEventArgs extends RecognitionEventArgs
Defines a payload for Transcribing, and Transcribed events. Added in 1.12.0.
-
-
Field Summary
-
Fields inherited from class com.microsoft.cognitiveservices.speech.RecognitionEventArgs
offset
-
Fields inherited from class com.microsoft.cognitiveservices.speech.SessionEventArgs
eventHandle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversationTranslationResultgetResult()Gets the conversation translation result.StringtoString()Returns a String that represents the recognition event payload.-
Methods inherited from class com.microsoft.cognitiveservices.speech.RecognitionEventArgs
getRecognitionResult
-
Methods inherited from class com.microsoft.cognitiveservices.speech.SessionEventArgs
close, getSessionId
-
-
-
-
Method Detail
-
getResult
public final ConversationTranslationResult getResult()
Gets the conversation translation result.- Returns:
- the result.
-
toString
public String toString()
Description copied from class:RecognitionEventArgsReturns a String that represents the recognition event payload.- Overrides:
toStringin classRecognitionEventArgs- Returns:
- A String that represents the recognition event payload.
-
-