Package org.openhab.core.voice
Interface KSListener
@NonNullByDefault
public interface KSListener
The listener interface for receiving
KSEvent
events.
A class interested in processing KSEvent
events implements this interface,
and its instances are passed to the KSService
's spot()
method.
Such instances are then targeted for various KSEvent
events corresponding
to the keyword spotting process.- Author:
- Kelly Davis - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionvoid
ksEventReceived
(KSEvent ksEvent) Invoked when aKSEvent
event occurs during keyword spotting.