Class SpeechSynthesisBookmarkEventArgs
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.SpeechSynthesisBookmarkEventArgs
-
public class SpeechSynthesisBookmarkEventArgs extends Object
Defines contents of speech synthesis bookmark event. Added in version 1.16.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAudioOffset()Specifies current bookmark's time offset in output audio, by ticks (100ns).StringgetResultId()Gets the unique ID of the result.StringgetText()Specifies the bookmark text.
-
-
-
Method Detail
-
getResultId
public String getResultId()
Gets the unique ID of the result. Added in version 1.25.0- Returns:
- Specifies unique ID of the result.
-
getAudioOffset
public long getAudioOffset()
Specifies current bookmark's time offset in output audio, by ticks (100ns).- Returns:
- Current bookmark's time offset in output audio, by ticks (100ns).
-
getText
public String getText()
Specifies the bookmark text.- Returns:
- The bookmark text.
-
-