|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.speech4j.speech.NativeObject
|
+--com.speech4j.speech.TTSBufNotifySink
Represents IBufNotifySink.
| Field Summary | |
static byte |
BOOKMARK
Flag enabling BookMark event. |
static byte |
DONE
Flag enabling TextDataDone event. |
static byte |
POSITION
Flag enabling WordPosition event. |
static byte |
STARTED
Flag enabling TextDataStarted event. |
| Constructor Summary | |
protected |
TTSBufNotifySink(byte flags)
Constructor. |
| Method Summary | |
protected void |
bookMark(long timeStamp,
int markNum)
Override this method to respond to BookMark event |
protected void |
textDataDone(long timeStamp,
int flags)
Override this method to respond to TextDataDone event |
protected void |
textDataStarted(long timeStamp)
Override this method to respond to TextDataStarted event |
protected void |
wordPosition(long timeStamp,
int byteOffset)
Override this method to respond to WordPosition event |
| Methods inherited from class com.speech4j.speech.NativeObject |
bytes2String, cleanup, getObjID, processMessages, stopProcessingMessages, string2Bytes, testSpeech |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final byte DONE
public static final byte STARTED
public static final byte BOOKMARK
public static final byte POSITION
| Constructor Detail |
protected TTSBufNotifySink(byte flags)
flags - Specifies events the object wants to receive.| Method Detail |
protected void textDataDone(long timeStamp,
int flags)
timeStamp - Time stampflags - Flagsprotected void textDataStarted(long timeStamp)
timeStamp - Time stamp
protected void bookMark(long timeStamp,
int markNum)
timeStamp - Time stampmarkNum - Bookmark number
protected void wordPosition(long timeStamp,
int byteOffset)
timeStamp - Time stampbyteOffset - Byte offset
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||