Optional
source: DeepPartial<DocumentScannerCameraConfiguration>Determines whether the document should be cropped automatically after a manual snap or not.
true;
After a page has been snapped, the delay in milliseconds before auto snapping resumes for the next page.
200;
Determines if auto snapping is enabled or not.
true;
Controls the auto snapping speed. The sensitivity must be between 0.0 and 1.0. A value of 1.0 triggers auto snapping immediately, while a value of 0.0 delays the auto snapping by 3 seconds. The default value is 0.66 (2 seconds).
0.66;
Determines which camera module to use on start-up.
"BACK";
Determines whether the flashlight is enabled or not on start-up.
false;
The ideal resolution for the camera preview. Actual resolution may vary depending on browser and device capabilities.
new Resolution({
"width": 1920,
"height": 1080
});
Generated using TypeDoc
Configuration of the camera behavior.