Package com.oorian.html.js.speech
Interface SpeechListener
- All Superinterfaces:
ClientEventListener,EventListener
Listener interface for speech recognition events.
- Author:
- Marvin P. Warble Jr.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidonEvent(SpeechErrorEvent event) Called when speech recognition fails.voidonEvent(SpeechResultEvent event) Called when speech recognition produces a result.
-
Method Details
-
onEvent
Called when speech recognition produces a result.- Parameters:
event- The speech result event.
-
onEvent
Called when speech recognition fails.- Parameters:
event- The error event.
-