Class SpeechRecognitionErrorEvent

java.lang.Object
org.openhab.core.voice.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 Details

    • SpeechRecognitionErrorEvent

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

    • getMessage

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