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

setNumMsBeforeTimeout before partial #31

Closed
mvayngrib opened this issue Feb 26, 2017 · 2 comments
Closed

setNumMsBeforeTimeout before partial #31

mvayngrib opened this issue Feb 26, 2017 · 2 comments

Comments

@mvayngrib
Copy link

first of all, great library guys!

the issue i was having is that I was using ScanCard expecting it to come to onActivityResult after the timeout, but it didn't. The docs clarified things: "...number of miliseconds that must pass after first partial scan result has arrived before scan activity triggers a timeout."

Is there a way to trigger a timeout for ScanCard whether or not there is a partial result? Or somehow programmatically cancel the scanning process?

thanks!

@DoDoENT
Copy link
Member

DoDoENT commented Jul 1, 2017

Hi!

There is no way to set hard timeout on ScanCard activity. However, you can create your custom scan activity (see example), where you can control timeout as you wish.

@culoi
Copy link
Contributor

culoi commented Mar 14, 2018

Closing the issue, please reopen if you have additional question

@culoi culoi closed this as completed Mar 14, 2018
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

3 participants