Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jenly1314 committed Jun 5, 2023
1 parent dbff6e1 commit 7157f25
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,15 +335,15 @@ getCameraScan().setPlayBeep(true)//设置是否播放音效,默认为false
* 2D格式:Aztec, Data Matrix, PDF417, QR Code

```kotlin
BarcodeDecoder.process(bitmap, object : OnAnalyzeListener<List<Barcode>?> {
override fun onSuccess(result: List<Barcode>) {
// 分析成功
}

override fun onFailure(e: Exception?) {
// 分析失败
}
})
BarcodeDecoder.process(bitmap, object : OnAnalyzeListener<List<Barcode>?> {
override fun onSuccess(result: List<Barcode>) {
// 分析成功
}

override fun onFailure(e: Exception?) {
// 分析失败
}
})
```

### 各个module的使用示例
Expand Down

0 comments on commit 7157f25

Please sign in to comment.