public interface RecognizerListener
Modifier and Type | Method and Description |
---|---|
void |
endOfSpeech(float timestamp)
An end of speech event
|
void |
initRecognition(javax.sound.sampled.AudioFormat format) |
void |
recognitionResult(RecResult result) |
void |
speechSamples(byte[] samples,
int pos,
int len) |
void |
startOfSpeech(float timestamp)
A start of speech event
|
void initRecognition(javax.sound.sampled.AudioFormat format)
void startOfSpeech(float timestamp)
timestamp
- the number of seconds since listening startedvoid endOfSpeech(float timestamp)
timestamp
- the number of seconds since listening startedvoid speechSamples(byte[] samples, int pos, int len)
void recognitionResult(RecResult result)