Package org.openhab.core.voice
Interface STTListener
@NonNullByDefault
public interface STTListener
The listener interface for receiving
STTEvent
events.
A class interested in processing STTEvent
events implements this interface,
and its instances are passed to the STTService
's recognize()
method.
Such instances are then targeted for various STTEvent
events corresponding
to the speech recognition process.- Author:
- Kelly Davis - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sttEventReceived
(STTEvent sttEvent) Invoked when aSTTEvent
event occurs during speech recognition.
-
Method Details
-
sttEventReceived
Invoked when aSTTEvent
event occurs during speech recognition.- Parameters:
sttEvent
- TheSTTEvent
fired by theSTTService
-