Table of contents
Swift
Objective-C

Java API Reference - BarcodeReader Initialization and Destroy

Method Description
BarcodeReader Initialization of BarcodeReader object.
destroy Destroys an instance of BarcodeReader object.

BarcodeReader

Initialization of BarcodeReader object.

com.dynamsoft.barcode.BarcodeReader.BarcodeReader() throws BarcodeReaderException

Exceptions

BarcodeReaderException

Remarks

If you initialize DynamsoftBarcodeReader by this method without license, the decoding results maybe unreliable.

Code Snippet

BarcodeReader reader = new BarcodeReader();

Initialization of BarcodeReader with license.

com.dynamsoft.barcode.BarcodeReader.BarcodeReader(String license)throws BarcodeReaderException

Exceptions

BarcodeReaderException

Code Snippet

BarcodeReader reader = new BarcodeReader("t0260NwAAAHV***************");

Destroy

void com.dynamsoft.barcode.BarcodeReader.destroy()	

Code Snippet

BarcodeReader reader = new BarcodeReader("t0260NwAAAHV***************");
reader.destroy();

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: