Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
WS committed Oct 9, 2022
1 parent b5dd772 commit dd4623f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,13 @@ Step 2. Add the dependency
}

### 初始化
org.thoughtcrime.securesms.util.VideoConvertUtil.init(context, scheduler);

org.thoughtcrime.securesms.util.VideoConvertUtil.init(context, scheduler);

### 开始转换
Integer convertId = org.thoughtcrime.securesms.util.VideoConvertUtil.startVideoConvert(srcPath, dstPath, upperSizeLimit, true/false, listener)

Integer convertId = org.thoughtcrime.securesms.util.VideoConvertUtil.startVideoConvert(srcPath, dstPath, upperSizeLimit, true/false, listener)

### 取消转换
org.thoughtcrime.securesms.util.VideoConvertUtil.stopVideoConvert(int convertId);

org.thoughtcrime.securesms.util.VideoConvertUtil.stopVideoConvert(int convertId);

0 comments on commit dd4623f

Please sign in to comment.