JSAPI 2.0

Uses of Class
javax.speech.EngineStateException

Packages that use EngineStateException
javax.speech Provides interfaces and classes for connecting to speech Engines. 
javax.speech.recognition Provides interfaces and classes for using speech Recognizers. 
javax.speech.synthesis Provides interfaces and classes for using speech Synthesizers. 
 

Uses of EngineStateException in javax.speech
 

Methods in javax.speech that throw EngineStateException
 void VocabularyManager.addWord(Word word)
          Adds a Word to this VocabularyManager.
 void VocabularyManager.addWords(Word[] words)
          Adds an array of Words to this VocabularyManager.
 void Engine.allocate()
          Allocates the resources required for this Engine and puts it into the ALLOCATED state.
 void Engine.allocate(int mode)
          Allocates the resources required for this Engine using the mode specified and puts it into the ALLOCATED state.
 void AudioManager.audioStart()
          Starts the audio for this AudioManager.
 void AudioManager.audioStop()
          Stops the audio for this AudioManager.
 void Engine.deallocate()
          Deallocates the resources acquired for this Engine and returns it to the DEALLOCATED state.
 void Engine.deallocate(int mode)
          Deallocates the resources acquired for this Engine using the mode specified and returns it to the DEALLOCATED state.
 String[] VocabularyManager.getPronunciations(String text, SpeechLocale locale)
          Returns the pronunciations corresponding to plain text for the given locale.
 Word[] VocabularyManager.getWords(String text, SpeechLocale locale)
          Returns Words matching the specified written-form text and locale.
 void Engine.pause()
          Pauses the audio processing for this Engine and puts it into the PAUSED state.
 void VocabularyManager.removeWord(Word word)
          Removes a Word from the VocabularyManager.
 void VocabularyManager.removeWords(Word[] words)
          Removes an array of Words from the VocabularyManager.
 boolean Engine.resume()
          Resumes audio processing for this Engine by entering the RESUMED state.
 

Uses of EngineStateException in javax.speech.recognition
 

Methods in javax.speech.recognition that throw EngineStateException
 void Recognizer.allocate()
          Allocates the resources required for this Engine and puts it into the ALLOCATED state.
 void Recognizer.allocate(int mode)
          Allocates the resources required for this Engine using the mode specified and puts it into the ALLOCATED state.
 RuleGrammar GrammarManager.createRuleGrammar(String grammarReference, String rootName)
          Creates a new RuleGrammar for this GrammarManager with the specified grammarReference and rootName.
 RuleGrammar GrammarManager.createRuleGrammar(String grammarReference, String rootName, SpeechLocale locale)
          Creates a new RuleGrammar for this GrammarManager with the specified grammarReference, rootName, and locale.
 void Recognizer.deallocate()
          Deallocates the resources acquired for this Engine and returns it to the DEALLOCATED state.
 void Recognizer.deallocate(int mode)
          Deallocates the resources acquired for this Engine using the mode specified and returns it to the DEALLOCATED state.
 void GrammarManager.deleteGrammar(Grammar grammar)
          Deletes a Grammar from this GrammarManager.
 Grammar GrammarManager.getGrammar(String grammarReference)
          Gets the Grammar with the specified grammarReference.
 Grammar[] GrammarManager.listGrammars()
          Lists the Grammars known to this GrammarManager.
 Grammar GrammarManager.loadGrammar(String grammarReference, String mediaType)
          Loads a Grammar from a URI or named resource.
 Grammar GrammarManager.loadGrammar(String grammarReference, String mediaType, boolean loadReferences, boolean reloadReferences, Vector loadedGrammars)
          Loads a Grammar from a URI or named resource with options for loading any referenced Grammars.
 Grammar GrammarManager.loadGrammar(String grammarReference, String mediaType, InputStream byteStream, String encoding)
          Loads a Grammar from grammar text provided by an InputStream.
 Grammar GrammarManager.loadGrammar(String grammarReference, String mediaType, Reader charStream)
          Loads a Grammar from grammar text provided by a Reader.
 Grammar GrammarManager.loadGrammar(String grammarReference, String mediaType, String grammarText)
          Loads a RuleGrammar from grammar text provided as a String.
 void Recognizer.pause()
          Pauses the audio processing for this Engine and puts it into the PAUSED state.
 void Recognizer.pause(int mode)
          Pauses a Recognizer with additional options.
 void Recognizer.processGrammars()
          Informs this Recognizer that Grammars have changed.
 void Recognizer.releaseFocus()
          Releases the recognition focus from this Recognizer.
 void Recognizer.requestFocus()
          Requests the recognition focus for this Recognizer.
 void SpeakerManager.restoreCurrentSpeaker()
          Restores the speaker data for the current SpeakerProfile to the last saved version.
 boolean Recognizer.resume()
          Resumes audio processing for this Engine by entering the RESUMED state.
 void SpeakerManager.saveCurrentSpeaker()
          Saves the speaker data for the current SpeakerProfile.
 

Uses of EngineStateException in javax.speech.synthesis
 

Methods in javax.speech.synthesis that throw EngineStateException
 void Synthesizer.allocate()
          Allocates the resources required for this Engine and puts it into the ALLOCATED state.
 void Synthesizer.allocate(int mode)
          Allocates the resources required for this Engine using the mode specified and puts it into the ALLOCATED state.
 boolean Synthesizer.cancel()
          Cancels output of the current object at the top of the Synthesizer output queue.
 boolean Synthesizer.cancel(int id)
          Removes the object specified by the id from the Synthesizer output queue.
 boolean Synthesizer.cancelAll()
          Cancels all objects in the Synthesizer output queue and stops speaking the current top-of-queue object.
 void Synthesizer.deallocate()
          Deallocates the resources acquired for this Engine and returns it to the DEALLOCATED state.
 void Synthesizer.deallocate(int mode)
          Deallocates the resources acquired for this Engine using the mode specified and returns it to the DEALLOCATED state.
 void Synthesizer.pause()
          Pauses the audio processing for this Engine and puts it into the PAUSED state.
 boolean Synthesizer.resume()
          Resumes audio processing for this Engine by entering the RESUMED state.
 int Synthesizer.speak(AudioSegment audio, SpeakableListener listener)
          Speaks an AudioSegment.
 int Synthesizer.speak(Speakable speakable, SpeakableListener listener)
          Speaks an object that provides synthesis markup text through the Speakable interface.
 int Synthesizer.speak(String text, SpeakableListener listener)
          Speaks a plain text String.
 int Synthesizer.speakMarkup(String synthesisMarkup, SpeakableListener listener)
          Speaks a String containing text synthesis markup text.
 


JSAPI 2.0

JavaTM Speech API 2.0, Final Release v2.0.6.
© 2008, Conversay and Sun Microsystems.

Free Web Hosting