|
|||||||||||
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.TTSEnum
Represents CTTSEnum class.
Constructor Summary | |
TTSEnum()
Constructor. |
Method Summary | |
void |
destroy()
Call this method to explicitly destroy "native" part of the object. |
protected void |
finalize()
Invokes destroy() to release native object. |
TTSModeInfo |
findByModeName(java.lang.String name)
Finds mode by name. |
TTSModeInfo |
next()
Creates new TTSModeInfo , calls next(TTSModeInfo) and retruns info. |
boolean |
next(TTSModeInfo info)
See CTTSEnum::Next() |
void |
reset()
See CTTSEnum::Reset() |
TTSMode |
select(byte[] guid,
AudioDest audio)
See CTTSEnum::Select() |
TTSMode |
select(java.lang.String guid,
AudioDest audio)
Invokes select(string2Bytes(guid),audio). |
void |
skip()
Calls Skip(1) |
void |
skip(int cnt)
See CTTSEnum::Skip() |
Methods inherited from class com.speech4j.speech.NativeObject |
bytes2String, cleanup, getObjID, processMessages, stopProcessingMessages, string2Bytes, testSpeech |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TTSEnum() throws SpeechException
Method Detail |
protected void finalize()
finalize
in class java.lang.Object
public void destroy()
public boolean next(TTSModeInfo info) throws SpeechException
info
- - object to put data to
SpeechException
public TTSModeInfo next() throws SpeechException
SpeechException
public void skip(int cnt) throws SpeechException
cnt
- Number of modes to skip
SpeechException
public void reset() throws SpeechException
SpeechException
public TTSMode select(byte[] guid, AudioDest audio) throws SpeechException
guid
- Mode IDaudio
- Audio destination
SpeechException
public TTSMode select(java.lang.String guid, AudioDest audio) throws SpeechException
guid
- Mode IDaudio
- Audio destination
SpeechException
public void skip() throws SpeechException
SpeechException
public TTSModeInfo findByModeName(java.lang.String name) throws SpeechException
name
- Mode name
SpeechException
- if mode not found
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |