Class SpeechSynthesisVisemeEventArgs
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.SpeechSynthesisVisemeEventArgs
-
public class SpeechSynthesisVisemeEventArgs extends Object
Defines contents of speech synthesis viseme event. Added in version 1.16.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAnimation()Specifies the animation, could be in svg or other format.longgetAudioOffset()Specifies current viseme's time offset in output audio, by ticks (100ns).StringgetResultId()Gets the unique ID of the result.longgetVisemeId()Specifies current viseme ID.
-
-
-
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 viseme's time offset in output audio, by ticks (100ns).- Returns:
- Current viseme's time offset in output audio, by ticks (100ns).
-
getVisemeId
public long getVisemeId()
Specifies current viseme ID.- Returns:
- The current viseme ID.
-
getAnimation
public String getAnimation()
Specifies the animation, could be in svg or other format.- Returns:
- The animation string.
-
-