com.honeywell.decodemanager.barcode
Class Decoder

java.lang.Object
  extended by com.honeywell.decodemanager.barcode.Decoder

public class Decoder
extends java.lang.Object

Provides interfaces exported from libDecoder.so

Author:
E525542

Constructor Summary
Decoder()
           
 
Method Summary
 void cancelDecode()
           
 int connectToDecoder()
           
 int decodeImage(byte[] image, DecodeResult result, int width, int height)
           
 int disableSymbology(int symbologyID)
           
 int disconnectFromDecoder()
           
 int enableDecodeCenteringWindow(boolean enable)
           
 int enableSymbology(int symbologyID)
           
 java.lang.String getAPIRevision()
           
 byte getBarcodeAimID()
           
 byte getBarcodeAimModifier()
           
 byte[] getBarcodeByteData()
           
 byte getBarcodeCodeID()
           
 java.lang.String getBarcodeData()
           
 java.lang.String GetBarcodeData()
           
 int getBarcodeLength()
           
 int getCenteringWindowLimits(CenteringWindowLimits limits)
           
 java.lang.String getControlLogicRevision()
           
 java.lang.String getDecoderRevision()
           
 java.lang.String getDecThreadsRevision()
           
 int getEngineID()
           
 java.lang.String getEngineSerialNumber()
           
 int getEngineType()
           
 java.lang.String getErrorMessage(int error)
           
 int getImageHeight()
           
 void getImagerProperties(ImagerProperties imgProp)
           
 int getImageWidth()
           
 int getIQImage(IQImagingProperties propery, Bitmap iqbmp)
           
 int getLastDecodeTime()
           
 byte[] getLastImage(ImageAttributes imgAtt)
           
 int getMaxMessageLength()
           
 int getPreviewFrame(Bitmap frame)
           
 int getPSOCMajorRev()
           
 int getPSOCMinorRev()
           
 java.lang.String getScanDriverRevision()
           
 java.lang.String getSecondaryDecoderRevision()
           
 int getSingleFrame(Bitmap frame)
           
 int getSymbologyConfig(SymbologyConfig symConfig, boolean DefaultValues)
           
 int getSymbologyMaxRange(int symbologyID)
           
 int getSymbologyMinRange(int symbologyID)
           
 int setDecodeAttemptLimit(int limit)
           
 int setDecodeCenteringWindow(CenteringWindow window)
           
 int setDecodeSearchLimit(int limit)
           
 int setExposureMode(int Mode)
           
 int setExposureSettings(int[] expSettings)
           
 int setLightsMode(int Mode)
           
 int setOCRMode(int mode)
           
 int setOCRTemplates(int templates)
           
 int setOCRUserTemplate(int mode, byte[] template)
           
 int setProperty(int property, int value)
           
 int setScanMode(int Mode)
           
 int setSymbologyConfig(SymbologyConfig symConfig)
           
 int setSymbologyDefaults(int symbologyID)
           
 int startScanning()
           
 int stopScanning()
           
 int waitForDecode(int timeOut)
           
 int waitForDecodeTwo(int timeOut, DecodeResult result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Decoder

public Decoder()
Method Detail

GetBarcodeData

public java.lang.String GetBarcodeData()

connectToDecoder

public int connectToDecoder()

disconnectFromDecoder

public int disconnectFromDecoder()

getErrorMessage

public java.lang.String getErrorMessage(int error)

getMaxMessageLength

public int getMaxMessageLength()

getEngineID

public int getEngineID()

getEngineType

public int getEngineType()

getEngineSerialNumber

public java.lang.String getEngineSerialNumber()

getAPIRevision

public java.lang.String getAPIRevision()

getDecoderRevision

public java.lang.String getDecoderRevision()

getSecondaryDecoderRevision

public java.lang.String getSecondaryDecoderRevision()

getControlLogicRevision

public java.lang.String getControlLogicRevision()

getDecThreadsRevision

public java.lang.String getDecThreadsRevision()

getScanDriverRevision

public java.lang.String getScanDriverRevision()

enableSymbology

public int enableSymbology(int symbologyID)

disableSymbology

public int disableSymbology(int symbologyID)

setSymbologyDefaults

public int setSymbologyDefaults(int symbologyID)

getSymbologyConfig

public int getSymbologyConfig(SymbologyConfig symConfig,
                              boolean DefaultValues)

setSymbologyConfig

public int setSymbologyConfig(SymbologyConfig symConfig)

getSymbologyMinRange

public int getSymbologyMinRange(int symbologyID)

getSymbologyMaxRange

public int getSymbologyMaxRange(int symbologyID)

getPSOCMajorRev

public int getPSOCMajorRev()

getPSOCMinorRev

public int getPSOCMinorRev()

getImagerProperties

public void getImagerProperties(ImagerProperties imgProp)

getLastImage

public byte[] getLastImage(ImageAttributes imgAtt)

decodeImage

public int decodeImage(byte[] image,
                       DecodeResult result,
                       int width,
                       int height)

setLightsMode

public int setLightsMode(int Mode)

setScanMode

public int setScanMode(int Mode)

setExposureMode

public int setExposureMode(int Mode)

setDecodeSearchLimit

public int setDecodeSearchLimit(int limit)

setDecodeAttemptLimit

public int setDecodeAttemptLimit(int limit)

getCenteringWindowLimits

public int getCenteringWindowLimits(CenteringWindowLimits limits)

setDecodeCenteringWindow

public int setDecodeCenteringWindow(CenteringWindow window)

enableDecodeCenteringWindow

public int enableDecodeCenteringWindow(boolean enable)

setOCRMode

public int setOCRMode(int mode)

setOCRTemplates

public int setOCRTemplates(int templates)

setOCRUserTemplate

public int setOCRUserTemplate(int mode,
                              byte[] template)

waitForDecode

public int waitForDecode(int timeOut)

getBarcodeCodeID

public byte getBarcodeCodeID()

getBarcodeAimID

public byte getBarcodeAimID()

getBarcodeAimModifier

public byte getBarcodeAimModifier()

getBarcodeLength

public int getBarcodeLength()

getBarcodeData

public java.lang.String getBarcodeData()

getLastDecodeTime

public int getLastDecodeTime()

waitForDecodeTwo

public int waitForDecodeTwo(int timeOut,
                            DecodeResult result)

cancelDecode

public void cancelDecode()

getIQImage

public int getIQImage(IQImagingProperties propery,
                      Bitmap iqbmp)

getSingleFrame

public int getSingleFrame(Bitmap frame)

getPreviewFrame

public int getPreviewFrame(Bitmap frame)

getImageWidth

public int getImageWidth()

getImageHeight

public int getImageHeight()

startScanning

public int startScanning()

stopScanning

public int stopScanning()

setExposureSettings

public int setExposureSettings(int[] expSettings)

getBarcodeByteData

public byte[] getBarcodeByteData()

setProperty

public int setProperty(int property,
                       int value)