Interface TextOutputListener

All Known Implementing Classes:
TextOutputAdapter

public interface TextOutputListener
Listener for text output (provided by actions, scripts, etc.)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when new message is received.
    void
    onFailure(Exception exception)
    Called on execution failure
    void
    Called when all text output provided successfully
    void
    setStreamId(long streamId)
    Called when output stream ID is known
  • Method Details

    • messageReceived

      void messageReceived(String text)
      Called when new message is received.
      Parameters:
      text - received message
    • setStreamId

      void setStreamId(long streamId)
      Called when output stream ID is known
      Parameters:
      streamId - ID of output stream (actual meaning depends on API call)
    • onSuccess

      void onSuccess()
      Called when all text output provided successfully
    • onFailure

      void onFailure(Exception exception)
      Called on execution failure
      Parameters:
      exception - cause of operation failure