|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CharacterInput
Facade for easy control and monitoring of the user's DTMF input.
Objects that implement this interface are able to detect character input and to control input detection interval duration with a timer whose length is specified by a VoiceXML document.
If an input resource is not available, an error.noresource
event must be thrown.
Copyright © 2006 JVoiceXML group - http://jvoicexml.sourceforge.net/
| Method Summary | |
|---|---|
void |
addCharacter(char dtmf)
The user entered a DTMF. |
void |
startRecognition()
Detects and reports character and/or spoken input simultaneously. |
void |
stopRecognition()
Stops a previously started recognition. |
| Methods inherited from interface org.jvoicexml.RemoteConnectable |
|---|
connect |
| Method Detail |
|---|
void addCharacter(char dtmf)
dtmf - Entered DTMF.
void startRecognition()
throws NoresourceError,
BadFetchError
startRecognition in interface InputDeviceNoresourceError - The input resource is not available.
BadFetchError - The active grammar contains some errors.void stopRecognition()
stopRecognition in interface InputDevicestartRecognition()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||