Interface VideoProgressListener

  • All Known Implementing Classes:
    EchoingProgressListener

    public interface VideoProgressListener
    A VideoProgressListener is meant to share progress from potentially any number of EncoderProgressListeners. Because it would be hard to determine the overall status by just tracking successive progress from ffmpeg, an onBbegin and onComplete have been added.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onBegin()
      It has begun!
      void onComplete()
      It has ended!
      void onError​(java.lang.String message)
      An error has occurred!
      void onMessage​(java.lang.String message)
      Any messages that arise during the activity.
      void onProgress​(java.lang.Double progress)
      Meaningful progress has been made.
    • Method Detail

      • onBegin

        void onBegin()
        It has begun!
      • onMessage

        void onMessage​(java.lang.String message)
        Any messages that arise during the activity.
        Parameters:
        message - Whatever the process reported out.
      • onProgress

        void onProgress​(java.lang.Double progress)
        Meaningful progress has been made.
        Parameters:
        progress - Current percentage complete. (0-1)
      • onError

        void onError​(java.lang.String message)
        An error has occurred!
        Parameters:
        message - The error message reported by the process.
      • onComplete

        void onComplete()
        It has ended!