From 6b7f12722164f70ae831cb0a08839c7c691ceaac Mon Sep 17 00:00:00 2001 From: xufulong <839789740@qq.com> Date: Tue, 16 Jun 2020 00:11:23 +0800 Subject: [PATCH] add the method of onProgress add the method of onProgress --- .../main/java/com/frank/ffmpeg/listener/OnHandleListener.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/frank/ffmpeg/listener/OnHandleListener.java b/app/src/main/java/com/frank/ffmpeg/listener/OnHandleListener.java index 380553c..cc54ab5 100644 --- a/app/src/main/java/com/frank/ffmpeg/listener/OnHandleListener.java +++ b/app/src/main/java/com/frank/ffmpeg/listener/OnHandleListener.java @@ -6,5 +6,6 @@ package com.frank.ffmpeg.listener; */ public interface OnHandleListener { void onBegin(); + default void onProgress(int progress, int duration){} void onEnd(int resultCode, String resultMsg); }