File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ ZXingLite for Android 是ZXing的精简极速版,基于ZXing库优化扫码和
3636
3737 ```gradle
3838 // AndroidX 版本
39- implementation 'com.github.jenly1314:zxing-lite:3.1.0 '
39+ implementation 'com.github.jenly1314:zxing-lite:3.1.1 '
4040
4141 ```
4242
@@ -138,7 +138,7 @@ public class QRCodeScanActivity extends BarcodeCameraScanActivity {
138138 .setAreaRectRatio(0.8f )// 设置识别区域比例,默认0.8,设置的比例最终会在预览区域裁剪基于此比例的一个矩形进行扫码识别
139139 .setAreaRectVerticalOffset(0 )// 设置识别区域垂直方向偏移量,默认为0,为0表示居中,可以为负数
140140 .setAreaRectHorizontalOffset(0 );// 设置识别区域水平方向偏移量,默认为0,为0表示居中,可以为负数
141- // BarcodeCameraScanActivity默认使用的MultiFormatAnalyzer,这里可以改为使用QRCodeAnalyzer
141+ // BarcodeCameraScanActivity默认使用的MultiFormatAnalyzer,如果只识别二维码, 这里可以改为使用QRCodeAnalyzer
142142 return new MultiFormatAnalyzer (decodeConfig);
143143 }
144144
You can’t perform that action at this time.
0 commit comments