Package dev.runabout

Interface RunaboutListener

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface RunaboutListener
    Listener for events in the Runabout library. Currently only used for errors.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onError​(java.lang.Throwable error)
      Called when an error occurs in the Runabout library.
    • Method Detail

      • onError

        void onError​(java.lang.Throwable error)
        Called when an error occurs in the Runabout library.
        Parameters:
        error - The error that occurred.