Class SpeechSynthesisEventArgs
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.SpeechSynthesisEventArgs
-
- All Implemented Interfaces:
AutoCloseable
public class SpeechSynthesisEventArgs extends Object implements AutoCloseable
Defines contents of speech synthesis related event. Note: close() must be called in order to release underlying resources held by the object. Added in version 1.7.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Explicitly frees any external resource attached to the objectSpeechSynthesisResultgetResult()Specifies the speech synthesis result.
-
-
-
Method Detail
-
getResult
public SpeechSynthesisResult getResult()
Specifies the speech synthesis result.- Returns:
- the speech synthesis result.
-
close
public void close()
Explicitly frees any external resource attached to the object- Specified by:
closein interfaceAutoCloseable
-
-