speech.tools
Interface SpeechStateListener

All Known Implementing Classes:
GrammarCenterAgent

public interface SpeechStateListener

A Listener that is used by GrammarCenter to tie into Listen.


Method Summary
 void stateChanged(int iState)
          Called when the speech system wakes up or goes to sleep.
 void volumeOverThresh(float fVolume, float fThresh)
          Not used right now.
 void volumeUnderThresh(float fVolume, float fThresh)
          Not used right now.
 

Method Detail

stateChanged

public void stateChanged(int iState)
Called when the speech system wakes up or goes to sleep. The int values can be found in Listen, but I believe they are AWAKE, ASLEEP.
Parameters:
iState - an int value

volumeOverThresh

public void volumeOverThresh(float fVolume,
                             float fThresh)
Not used right now.

volumeUnderThresh

public void volumeUnderThresh(float fVolume,
                              float fThresh)
Not used right now.