|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.honeywell.iqimagemanager.IQImageManager
public class IQImageManager
IQImageManager contains methods for dealing with IQ image.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.honeywell.iqimagemanager.IQConstValue |
---|
IQConstValue.IqImageFormats |
Field Summary | |
---|---|
static int |
DECODEFAIL
fail to decode the barcode. |
static int |
DECODEREADY
Deoode is ready,then user can decode symbology and configure symbology.if not ready and be used it will throw exception |
Fields inherited from interface com.honeywell.iqimagemanager.IQConstValue |
---|
DELIVERY_HEIGHT, DELIVERY_WIDTH, IQ_RESOLUTION, IQTYPE_DEFAULT, IQTYPE_DELIVERY, IQTYPE_EMBED, IQTYPE_NOFORMAT, IQTYPE_POSTAL, MESSAGE_DECODE_SUC, POSTAL_HEIGHT, POSTAL_WIDTH |
Constructor Summary | |
---|---|
IQImageManager(Context context,
Handler hanler)
Constructor to initialize corresponding parameters. |
Method Summary | |
---|---|
int |
activateSYMID(int symbologyID)
Activate a specified symbology for decoder engine. |
int |
decodeIQWithTimout(int timeout,
DecodeResult decRes)
Perform decode procedure during a specified timeout. |
int |
getIQImage(IQImagingProperties propery,
IQBitmapParcel bmpparcel)
Capture the IQ Image if decoder procedure is successful. |
int |
inactivateSYMID(int symbologyID)
Inactivate an specified symbology or all symbologies from decoding. |
int |
initIQEnv()
Establishes a connection to the engine. |
int |
reaseIQEnv()
Closes the hardware connection to the engine. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DECODEFAIL
public static final int DECODEREADY
Constructor Detail |
---|
public IQImageManager(Context context, Handler hanler)
Method Detail |
---|
public int getIQImage(IQImagingProperties propery, IQBitmapParcel bmpparcel) throws RemoteException
propery
- The IQImagingProperties object which contains the
configuration of IQ Image.bmpparcel
- The BitmapParcel object which wrapps the bitmap of
captured IQ Image. It's caller who is responsible for creating
and recycle bitmap.
RemoteException
public int initIQEnv()
public int reaseIQEnv()
public int activateSYMID(int symbologyID) throws RemoteException
symbologyID
- One of the
CommonDefine.SymbologyID
, eg SYM_CODE39. To enable all symbolgies at once, SYM_ALL
should be used as the SymID.
RemoteException
CommonDefine.SymbologyID
,
CommonDefine.ErrorCode
public int inactivateSYMID(int symbologyID) throws RemoteException
symbologyID
- One of the
CommonDefine.SymbologyID
, eg SYM_CODE39. To disable all symbolgies at once, SYM_ALL
should be used as the SymID.
RemoteException
CommonDefine.SymbologyID
,
CommonDefine.ErrorCode
public int decodeIQWithTimout(int timeout, DecodeResult decRes) throws RemoteException
timeout
- Maximum amount of time in milliseconds that the decoder
may use to attempt to find and decode a symbol.decRes
- Contains the decode result if the procedure is successful.
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |