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 Type
    Method
    Description
    void
    Invoked when a STTEvent event occurs during speech recognition.
  • Method Details

    • sttEventReceived

      void sttEventReceived(STTEvent sttEvent)
      Invoked when a STTEvent event occurs during speech recognition.
      Parameters:
      sttEvent - The STTEvent fired by the STTService