Optional
allowOptional
engineLocation of the Core WebAssembly Engine. Mandatory.
This option is deprecated and will be replaced by the option enginePath
in the next major release.
Scanbot Web SDK License key. Required
Optional
requestThe requestSuffix is appended to the HTTP requests made by the SDK to load necessary WASM and JS files. It is meant to avoid any caching issues that may arise when the SDK is updated. Defaults to '?CURRENT_SDK_VERSION'.
Optional
verboseDetermines whether the SDK should log debug messages. Defaults to false.
Generated using TypeDoc
Determines whether the SDK should use multithreading. Defaults to true. Multithreading will only affect supported Android devices and desktop browsers. Multithreading on iOS is currently not supported. On supported devices, multithreading will improve performance significantly. Note that multithreading will only work on crossOriginIsolated sites. To enable this for your site, certain HTTP headers need to be set. Please consult our documentation for more information. If multithreading was requested but the site is not in a crossOriginIsolated context, the SDK will print a warning and fallback to single-threaded operation.