Component.DefSpeechEventListenerpublic static interface Component.SpeechEventListener
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
onSpeechEvent(Component component,
SpeechEvent event) |
Called when a voice event is bound to the component.
|
boolean onSpeechEvent(Component component, SpeechEvent event)
component - Indicates the component.event - Indicates the voice event.true if the listener has processed the event; returns false otherwise.