public interface SpeechEvent
| Modifier and Type | Field and Description |
|---|---|
static String |
BOOKMARK |
static String |
SPEECH_END |
static String |
SPEECH_START |
static String |
VISEME |
static String |
WORD_BOUNDARY |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCurrentData()
Returns event data (usually phone or viseme id) associated with the start
of the event.
|
Integer |
getDuration()
Returns the duration of the event in milliseconds.
|
String |
getEventType()
Returns the name of the event of this event.
|
Integer |
getNextData()
Returns event data (usually phone or viseme id) associated with the end
of the event.
|
Long |
getStreamNumber()
Returns the stream number for tts output the event originates from.
|
String |
getStringData()
Returns any String data associated with the event (used for SAPI bookmark
events).
|
Integer |
getTextLength()
Returns the number of characters the event covers.
|
Integer |
getTextPosition()
Returns the position of the speech request the event begins at.
|
static final String SPEECH_START
static final String SPEECH_END
static final String VISEME
static final String WORD_BOUNDARY
static final String BOOKMARK
String getEventType()
Long getStreamNumber()
Integer getTextPosition()
Integer getTextLength()
Integer getCurrentData()
Integer getNextData()
String getStringData()
Integer getDuration()
Copyright © 2011-2014. All Rights Reserved.