Initialize and configure the Scandit Barcode Scanner SDK library. This function must be called as first thing before using any other function of the library.
Depending on parameters and device features, any of the following errors could be the rejected result of the returned promise:
Camera access requests and external Scandit Engine library loads are done lazily only when needed by a BarcodePicker (or Scanner) object. To make the loading process faster when scanning is actually needed, it is recommended depending on the use case to create in advance a (hidden and paused) BarcodePicker or Scanner object, to later simply show and unpause it when needed. You can also eagerly ask only for camera access permissions by calling the CameraAccess.getCameras function.
The Scandit license key to be used by the library.
A promise resolving when the library has been configured.
Generated using TypeDoc