You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ If things go wrong, your result will contain a `ScanError` set to one of these t
31
31
You can provide a variety of extra customization options to `CodeScannerView` in its initializer:
32
32
33
33
-`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`.
34
-
-`scanInterval` controls how fast individual codes should be scanned when running in `.continuous` scan mode.
34
+
-`scanInterval` controls how fast individual codes should be scanned (in seconds) when running in `.continuous` scan mode.
35
35
-`showViewfinder` determines whether to show a box-like viewfinder over the UI. Default: false.
36
36
-`simulatedData` allows you to provide some test data to use in Simulator, when real scanning isn’t available. Default: an empty string.
37
37
-`shouldVibrateOnSuccess` allows you to determine whether device should vibrate when a code is found. Default: true.
0 commit comments