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

      • sttEventReceived

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