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: data-capture-ready-to-use-ui-example/app/src/main/java/io/scanbot/example/doc_code_snippet/detailed_setup_guide/MockCameraSnippet.kt
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,10 @@ class MockCameraSnippet {
19
19
* `showDebugImage` - if true, the mock camera will show `getFrameImagePath` file as image preview.
20
20
* `tryHideFinderView` - if true, the finder view will be hidden.
21
21
* `tryHidePolygonView` - if true, the ar overlay polygon view will be hidden.
22
+
* `delayBetweenFramesMs` - delay between frames in milliseconds, used to simulate a camera feed.
23
+
* `forceImageUploadOnSamePath` - if true, the mock camera will reload the image from the file system even if the path has not changed. This is useful for testing scenarios where the image file might be updated.
24
+
* `imageFileReadAttemptLimit` - the number of attempts to read the image file. Helps to handle cases where the file might not be immediately available.
25
+
* `imageFileReadAttemptDelay` - delay between attempts to read the image file. Helps to avoid busy-waiting and allows the file system to stabilize if the file is being written to.
0 commit comments