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

Add scanInterval time unit to docs #152

Merged
merged 1 commit into from
Dec 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ If things go wrong, your result will contain a `ScanError` set to one of these t
You can provide a variety of extra customization options to `CodeScannerView` in its initializer:

- `scanMode` can be `.once` to scan a single code, `.oncePerCode` to scan many codes but only trigger finding each unique code once, and `.continuous` will keep finding codes until you dismiss the scanner. Default: `.once`.
- `scanInterval` controls how fast individual codes should be scanned when running in `.continuous` scan mode.
- `scanInterval` controls how fast individual codes should be scanned (in seconds) when running in `.continuous` scan mode.
- `showViewfinder` determines whether to show a box-like viewfinder over the UI. Default: false.
- `simulatedData` allows you to provide some test data to use in Simulator, when real scanning isn’t available. Default: an empty string.
- `shouldVibrateOnSuccess` allows you to determine whether device should vibrate when a code is found. Default: true.
Expand Down