-
public interface WebPAnimEncoderProgressListenerA functional interface for listening to the encoding progress of the WebP animation.
-
-
Method Summary
Modifier and Type Method Description abstract BooleanonProgressChanged(Integer currentFrame, Integer frameProgress)This function is called when the encoding progress changes for each frame. -
-
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.
-
-
-
-