Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

业务需要只能识别条形码(不能识别二维码) #230

Open
dongzhouT opened this issue Nov 2, 2018 · 0 comments
Open

业务需要只能识别条形码(不能识别二维码) #230

dongzhouT opened this issue Nov 2, 2018 · 0 comments

Comments

@dongzhouT
Copy link

看了源码,没找到合适的方法。只好这样写(在初始化fragment之前,将二维码清空):
DecodeFormatManager.QR_CODE_FORMATS.clear();
...
CaptureFragment captureFragment = new CaptureFragment();
...
请问有没有别的方式?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant