Package 

Interface WebPAnimEncoderProgressListener

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean onProgressChanged(Integer currentFrame, Integer frameProgress) This function is called when the encoding progress changes for each frame.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onProgressChanged

         abstract Boolean onProgressChanged(Integer currentFrame, Integer frameProgress)

        This function is called when the encoding progress changes for each frame. If you want to cancel the encoding process, you can return false from this function.

        Parameters:
        currentFrame - The index of the frame currently being encoded, starting from zero.
        frameProgress - The percentage of the current frame that has been encoded.