public final class UniversalReader.BarcodeReader
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
read()
Reads barcode.
|
public java.lang.String read() throws java.io.IOException, UniversalReaderException
The first symbol of returned barcode is the type of barcode.
The barcode reader starts the projector for ~6 seconds and in that
time the barcode must be read. Otherwise a
UniversalReaderException
shall be thrown with error code
UniversalReader.ERROR_BARCODE_NODATA
.
java.io.IOException
- if an I/O error occurs.UniversalReaderException
- if an error occurs during execution.