public interface InputDevice
| Modifier and Type | Method and Description |
|---|---|
void |
startRecognition(DataModel model,
SpeechRecognizerProperties speech,
DtmfRecognizerProperties dtmf)
Detects and reports character and/or spoken input simultaneously.
|
void |
stopRecognition()
Stops a previously started recognition.
|
void startRecognition(DataModel model, SpeechRecognizerProperties speech, DtmfRecognizerProperties dtmf) throws NoresourceError, BadFetchError
model - the data model to use for generating a semantic
interpretationspeech - the speech recognizer properties to usedtmf - the DTMF recognizer properties to useNoresourceError - The input resource is not available.BadFetchError - The active grammar contains some errors.void stopRecognition()