Web SDK DSScanner object

When you include "datasymbol-sdk-hlp.min.js" file it adds global object "DSScanner".
<script type="text/javascript" src="/datasymbol-sdk-hlp.min.js"></script>

You can use DSScanner object instantly after JavaScript file has been loaded.

Methods
Creates and initializes a scanner

Destroys scanner

Starts scanning bar codes

Stops scanning

Adds handlers for various events

Changes any scanner settings

Returns a copy of the scanner settings

Returns cameras that can be used on this device

Converts binary decoded barcode data to the string

Returns scanner ready state

Returns barcode Web SDK version



Events
Event that occurs after the scanner is created (Create method), initialized and ready to be used.

Event that occurs after the scanner is destroyed (Destroy method).

Event fired when there is a decoded barcode

Fired when WebAssembly loaded и initialized

Event when the scanner started decoding

Event when the scanner stopped decoding

Any errors that occur