Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
BarcodeReader
Initialize and Destroy MethodsMethod | Description |
---|---|
createInstance |
Create a BarcodeReader object. |
destroy |
Destroy the BarcodeReader object. |
detectEnvironment |
Detect the current environment. |
isLoaded |
Check if the decoding module is loaded. |
loadWasm |
Manually load and compile the decoding WASM module. |
Create a BarcodeReader
object.
createInstance() returns Promise
Promise<BarcodeReader>
let reader = await Dynamsoft.BarcodeReader.createInstance();
Read barcodes from live camera
Destroy the BarcodeReader
object. Equivalent to the previous method deleteInstance()
.
destroy() returns Promise
Promise<any>
Detect the current device environment.
detectEnvironment() returns Promise
Promise<any>
Read barcodes from live camera
Check if the decoding module is loaded.
isLoaded() returns Boolean
Boolean
Dynamsoft.BarcodeReader.isLoaded()
Manually load and compile the decoding module. This method can be used to preload the decoding module to avoid lengthy lazy loading.
loadWasm() returns Promise
Promise<void>
latest version