jaugment2.speech
Interface speechRecognizing

All Known Implementing Classes:
JavaSpeechService, JavaSpeechServiceProxy

public interface speechRecognizing
extends java.rmi.Remote

interface for services providing basic speech-recognition


Inner Class Summary
static class speechRecognizing.GrammarResult
           
 
Method Summary
 net.jini.core.lease.Lease addDictationListener(net.jini.core.event.RemoteEventListener listener, java.rmi.MarshalledObject handback, int subscribedFor)
           
 speechRecognizing.GrammarResult addGrammar(java.lang.String grammar, net.jini.core.event.RemoteEventListener listener, java.rmi.MarshalledObject handback, int subscribedFor)
          add a grammar to be recognized and a listener to be informed whenever it is spoken and activate the grammar
 speechRecognizing.GrammarResult addGrammar(java.lang.String grammar, net.jini.core.event.RemoteEventListener listener, java.rmi.MarshalledObject handback, int subscribedFor, boolean activate)
          add a grammar to be recognized and a listener to be informed whenever it is spoken and activate the grammar if activate is true
 

Method Detail

addGrammar

public speechRecognizing.GrammarResult addGrammar(java.lang.String grammar,
                                                  net.jini.core.event.RemoteEventListener listener,
                                                  java.rmi.MarshalledObject handback,
                                                  int subscribedFor)
                                           throws java.rmi.RemoteException,
                                                  net.jini.core.lease.LeaseDeniedException,
                                                  java.lang.IllegalStateException
add a grammar to be recognized and a listener to be informed whenever it is spoken and activate the grammar

addGrammar

public speechRecognizing.GrammarResult addGrammar(java.lang.String grammar,
                                                  net.jini.core.event.RemoteEventListener listener,
                                                  java.rmi.MarshalledObject handback,
                                                  int subscribedFor,
                                                  boolean activate)
                                           throws java.rmi.RemoteException,
                                                  net.jini.core.lease.LeaseDeniedException,
                                                  java.lang.IllegalStateException
add a grammar to be recognized and a listener to be informed whenever it is spoken and activate the grammar if activate is true

addDictationListener

public net.jini.core.lease.Lease addDictationListener(net.jini.core.event.RemoteEventListener listener,
                                                      java.rmi.MarshalledObject handback,
                                                      int subscribedFor)
                                               throws java.rmi.RemoteException,
                                                      net.jini.core.lease.LeaseDeniedException,
                                                      java.lang.IllegalStateException