|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.implementation.BufferedCharacterInput
public final class BufferedCharacterInput
Buffered DTMF input.
Copyright © 2006-2007 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Constructor Summary | |
|---|---|
BufferedCharacterInput()
Constructs a new object. |
|
| Method Summary | |
|---|---|
void |
addCharacter(char dtmf)
The user entered a DTMF. |
void |
connect(RemoteClient client)
Establishes a connection from the given RemoteClient to this
object. |
void |
setUserInputListener(UserInputListener listener)
Sets the listener for user input events. |
void |
startRecognition()
Detects and reports character and/or spoken input simultaneously. |
void |
stopRecognition()
Stops a previously started recognition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BufferedCharacterInput()
| Method Detail |
|---|
public void addCharacter(char dtmf)
addCharacter in interface CharacterInputdtmf - Entered DTMF.
public void startRecognition()
throws NoresourceError,
BadFetchError
startRecognition in interface CharacterInputstartRecognition in interface InputDeviceNoresourceError - The input resource is not available.
BadFetchError - The active grammar contains some errors.public void stopRecognition()
stopRecognition in interface CharacterInputstopRecognition in interface InputDeviceCharacterInput.startRecognition()public void setUserInputListener(UserInputListener listener)
The implementation of this interface must notify the listener about all events.
Note: This method might not be called, e.g. if there is
no UserInput.
setUserInputListener in interface ObservableUserInputlistener - The listener.
public void connect(RemoteClient client)
throws IOException
RemoteClient to this
object.
connect in interface RemoteConnectableclient - data container with connection relevant data.
IOException - error establishing the connection.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||