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.
    Kelly Davis - Initial contribution
    • Method Detail

      • ksEventReceived

        void ksEventReceived​(KSEvent ksEvent)
        Invoked when a KSEvent event occurs during keyword spotting.
        ksEvent - The KSEvent fired by the KSService