Class TranslationSynthesisEventArgs
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.SessionEventArgs
-
- com.microsoft.cognitiveservices.speech.translation.TranslationSynthesisEventArgs
-
public final class TranslationSynthesisEventArgs extends SessionEventArgs
Defines the content of translation synthesis result event.
-
-
Field Summary
-
Fields inherited from class com.microsoft.cognitiveservices.speech.SessionEventArgs
eventHandle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TranslationSynthesisResultgetResult()Specifies the translation synthesis result.StringtoString()Returns a String that represents the translation recognition result event.-
Methods inherited from class com.microsoft.cognitiveservices.speech.SessionEventArgs
close, getSessionId
-
-
-
-
Method Detail
-
getResult
public final TranslationSynthesisResult getResult()
Specifies the translation synthesis result.- Returns:
- Specifies the translation synthesis result.
-
toString
public String toString()
Returns a String that represents the translation recognition result event.- Overrides:
toStringin classSessionEventArgs- Returns:
- A String that represents the translation recognition result event.
-
-