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 TypeMethodDescriptionvoidsttEventReceived(STTEvent sttEvent) Invoked when aSTTEventevent occurs during speech recognition.
-
Method Details
-
sttEventReceived
Invoked when aSTTEventevent occurs during speech recognition.- Parameters:
sttEvent- TheSTTEventfired by theSTTService
-