1 Star 0 Fork 95

LCarry / ZXingLite

forked from Jenly / ZXingLite 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
QRCodeAnalyzer.java 870 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jenly 提交于 2023-08-23 23:17 . 发布v3.0.0
package com.king.zxing.analyze;
import com.google.zxing.DecodeHintType;
import com.google.zxing.Reader;
import com.google.zxing.qrcode.QRCodeReader;
import com.king.zxing.DecodeConfig;
import com.king.zxing.DecodeFormatManager;
import java.util.Map;
import androidx.annotation.Nullable;
/**
* 二维码分析器
*
* @author <a href="mailto:jenly1314@gmail.com">Jenly</a>
*/
public class QRCodeAnalyzer extends BarcodeFormatAnalyzer {
public QRCodeAnalyzer() {
this(new DecodeConfig().setHints(DecodeFormatManager.QR_CODE_HINTS));
}
public QRCodeAnalyzer(@Nullable Map<DecodeHintType, Object> hints) {
this(new DecodeConfig().setHints(hints));
}
public QRCodeAnalyzer(@Nullable DecodeConfig config) {
super(config);
}
@Override
public Reader createReader() {
return new QRCodeReader();
}
}
Java
1
https://gitee.com/L-Carry/ZXingLite.git
git@gitee.com:L-Carry/ZXingLite.git
L-Carry
ZXingLite
ZXingLite
master

搜索帮助