SpeechSynthesisVisemeEventArgs Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. SpeechSynthesisVisemeEventArgs
- com.
public class SpeechSynthesisVisemeEventArgs
Defines contents of speech synthesis viseme event. Added in version 1.16.0
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAnimation()
Specifies the animation, could be in svg or other format. |
long |
getAudioOffset()
Specifies current viseme's time offset in output audio, by ticks (100ns). |
java.lang.String |
getResultId()
Gets the unique ID of the result. |
long |
getVisemeId()
Specifies current viseme ID. |
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Method Details
getAnimation
public String getAnimation()
Specifies the animation, could be in svg or other format.
Returns:
The animation string.
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).
getResultId
public String getResultId()
Gets the unique ID of the result. Added in version 1.25.0
Returns:
Specifies unique ID of the result.
getVisemeId
public long getVisemeId()
Specifies current viseme ID.
Returns:
The current viseme ID.