Interface SpeechListener

All Superinterfaces:
ClientEventListener, EventListener

public interface SpeechListener extends ClientEventListener
Listener interface for speech recognition events.
Author:
Marvin P. Warble Jr.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when speech recognition fails.
    void
    Called when speech recognition produces a result.
  • Method Details

    • onEvent

      void onEvent(SpeechResultEvent event)
      Called when speech recognition produces a result.
      Parameters:
      event - The speech result event.
    • onEvent

      void onEvent(SpeechErrorEvent event)
      Called when speech recognition fails.
      Parameters:
      event - The error event.