Class SpeechRecognitionErrorEvent

  • All Implemented Interfaces:
    STTEvent

    @NonNullByDefault
    public class SpeechRecognitionErrorEvent
    extends Object
    implements STTEvent
    A STTEvent fired when the STTService encounters an error.
    Author:
    Kelly Davis - Initial contribution
    • Constructor Detail

      • SpeechRecognitionErrorEvent

        public SpeechRecognitionErrorEvent​(String message)
        Constructs an instance with the passed message.
        Parameters:
        message - The message describing the error
    • Method Detail

      • getMessage

        public String getMessage()
        Gets the message describing this error
        Returns:
        The message describing this error