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 Type
    Method
    Description
    void
    Invoked when a KSEvent event occurs during keyword spotting.
  • Method Details

    • ksEventReceived

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