public class ScanManager
extends java.lang.Object
Constructor and Description |
---|
ScanManager() |
Modifier and Type | Method and Description |
---|---|
void |
aDecodeAddAction(ActionConfig actionInfo,
int styleOrder)
This function add the action configuration to the last order.
|
void |
aDecodeAddStyle(StyleConfig styleInfo)
This function add the style configuration to the last order.
|
void |
aDecodeAPIDeinit()
Deprecated.
No need to call it on Android.
|
int |
aDecodeAPIGetVersion()
This function returns DecodeApi version.
|
void |
aDecodeAPIInit()
Deprecated.
No need to call it on Android.
|
void |
aDecodeDeleteAction(int styleOrder,
int actionOrder)
This function delete the action configuration.
|
void |
aDecodeDeleteStyle(int styleOrder)
This function delete the style configuration.
|
int |
aDecodeGet1DQuietZoneLevel()
This function get levels of aggressiveness in decoding bar codes with a reduced quiet zone, Use for 2D scanner only.
|
void |
aDecodeGetAction(ActionConfig actionInfo,
int styleOrder,
int actionOrder)
This function get the action configuration.
|
java.lang.String |
aDecodeGetActionName(int actionIndex)
This function get the action name corresponding to the action index.
|
int |
aDecodeGetAdaptiveScanningMode()
This function get the adaptive scanning mode.
|
int |
aDecodeGetAimerEnable()
This function get the aimer mode.
|
int |
aDecodeGetAimerTimeOut()
This function get the aimer mode timeout.
|
int |
aDecodeGetAimOn()
Deprecated.
Use
ScanManager.aDecodeImageGetLightMode() instead |
java.lang.String |
aDecodeGetAPIVersion()
This function get the API version of decoder, Use for 2D(N660X) Only.
|
int |
aDecodeGetBeepEnable()
This function get the Beep notification use or not.
|
java.lang.String |
aDecodeGetBeepFailFile()
This function get the Beep fail file name.
|
java.lang.String |
aDecodeGetBeepSuccessFile()
This function get the Beep success file name.
|
int |
aDecodeGetBidirectionalMode()
This function get Bi-directional mode.
|
int |
aDecodeGetCenterWindowEnable()
This function get the center window mode use or not, Use for 2D scanner Only.
|
int |
aDecodeGetCenterWindowTolerance()
This function get the center window tolerance.
|
java.lang.String |
aDecodeGetCharset()
This function get string value of charset, Use for 2D scanner only.
|
int |
aDecodeGetClockMode24Mhz()
Deprecated.
Not supported on Andoird.
|
void |
aDecodeGetCondition(ConditionConfig conditionInfo,
int styleOrder)
This function get the condition configuration.
|
int |
aDecodeGetDecodeDelay()
This function get the decode delay use or not, Use for 2D(N660X, SE47XX)) Only.
|
int |
aDecodeGetDecodeEnable()
This function get the decoder use or not.
|
int |
aDecodeGetDecodeMode()
This function get the decode mode value, Use for 2D(N660X) Only.
|
int |
aDecodeGetDefaultEnable()
Deprecated.
|
java.lang.String |
aDecodeGetDriverVersion()
This function get the driver version of decoder.
|
void |
aDecodeGetEngineConfig(EngineConfig enginConfig)
This function get the scan engine configure, Use for 2D scanner only.
|
void |
aDecodeGetExposureSettings(ExposureSettings exposureSetting)
This function get the exposure settings, Use for 2D(N660X) Only.
|
java.lang.String |
aDecodeGetFocusType()
This function get focus type of decoder.
|
int |
aDecodeGetGroupSeparator()
This function get integer value of group separator.
|
int |
aDecodeGetIllumLevel()
Deprecated.
|
int |
aDecodeGetIllumOn()
Deprecated.
Use
ScanManager.aDecodeImageGetLightMode() instead |
int |
aDecodeGetIntercharacterGapSize()
This function get size of intercharacter gap for code39 and codabar, Use for 2D scanner only.
|
int |
aDecodeGetInverse1DMode()
This function get mode about inverse 1D, Use for 2D scanner Only.
|
int |
aDecodeGetLastError()
This function get the number of last error.
|
int |
aDecodeGetLedEnable()
This function get the LED notification use or not.
|
int |
aDecodeGetLinearSecurityLevel()
This function get the linear security level value.
|
java.lang.String |
aDecodeGetModuleName()
This function get the module name of decoder.
|
int |
aDecodeGetModuleType()
This function get the module type of decoder.
|
java.lang.String |
aDecodeGetModuleVersion()
This function get the module version of decoder.
|
int |
aDecodeGetMultipleConfirm()
Deprecated.
Supported scanner is not installed.
|
void |
aDecodeGetOCRTemplates(OCRProperty OCRTemplates)
This function get the OCR Templates, Use for 2D scanner Only.
|
int |
aDecodeGetParameter(int tag)
This function get value of the decoder library parameters.
|
int |
aDecodeGetPEWEnable()
This function get state of the extended wedge use or not.
|
int |
aDecodeGetPhoneDisplayMode()
This function get state of mobile phone/display mode option use or not, Use for 2D scanner only.
|
java.lang.String |
aDecodeGetPostfix()
This function get data of postfix.
|
int |
aDecodeGetPostfixEnable()
This function get state of postfix option use or not.
|
int |
aDecodeGetPowerSaveMode()
This function gets power save mode.
|
int |
aDecodeGetPowerSaveTimeOut()
This function gets the power save timeout value.
|
java.lang.String |
aDecodeGetPrefix()
This function get data of prefix.
|
int |
aDecodeGetPrefixEnable()
This function get state of prefix option use or not.
|
int |
aDecodeGetRedundancyLevel()
This function get levels of decode redundancy, Use for 2D scanner only.
|
void |
aDecodeGetResult(DecodeResult decodeResult)
This function get the decode result.
|
int |
aDecodeGetResultAimIdEnable()
This function get state of transmit aimer ID option use or not.
|
int |
aDecodeGetResultSymIdEnable()
This function get state of transmit symbology ID option use or not.
|
int |
aDecodeGetResultType()
This function is get the decode result notification type after decoding.
|
int |
aDecodeGetSameReadDataValidation()
This function get the same read data validation.
|
int |
aDecodeGetScanAngle()
This function get the scan angle degree.
|
int |
aDecodeGetScanImageMode()
This function get the image mode use or not, Use for 2D(N660X) Only.
|
int |
aDecodeGetSecurityLevel()
This function get levels of decode security, Use for 2D scanner only.
|
java.lang.String |
aDecodeGetSerialNumber()
This function get serial number of decoder.
|
void |
aDecodeGetStyle(StyleConfig styleInfo,
int styleOrder)
This function get the style configuration.
|
int |
aDecodeGetStyleTotalCount()
This function get count of styles.
|
int |
aDecodeGetSupport2D()
This function get the state Whether 2D barcode support or not.
|
int |
aDecodeGetTerminator()
This function is get the terminator value.
|
int |
aDecodeGetTriggerEnable()
This function get the trigger use or not.
|
int |
aDecodeGetTriggerInterval()
This function is get the auto scan trigger interval time.
|
int |
aDecodeGetTriggerMode()
This function is get the trigger mode.
|
int |
aDecodeGetTriggerTimeout()
This function get the trigger timeout value.
|
int |
aDecodeGetVibratorEnable()
This function get the Vibrator notification use or not.
|
int |
aDecodeGetVibratorFailInterval()
This function get the Vibration time after decode fail.
|
int |
aDecodeGetVibratorSuccessInterval()
This function get the Vibration time after decode success.
|
int |
aDecodeImageCapture(byte[] buffer)
This function get the image data, Use for 2D scanner Only.
|
int |
aDecodeImageCaptureGetHeight()
Deprecated.
Not supported on Andoird.
|
int |
aDecodeImageCaptureGetWidth()
Deprecated.
Not supported on Andoird.
|
int |
aDecodeImageGetLightMode()
This function get the Imager light mode, Use for 2D scanner Only.
|
void |
aDecodeImageSetLightMode(int lightMode)
This function do decision to Imager light mode, Use for 2D scanner Only.
|
int |
aDecodeImageStreamGetHeight()
Deprecated.
Not supported on Andoird.
|
int |
aDecodeImageStreamGetWidth()
Deprecated.
Not supported on Andoird.
|
boolean |
aDecodeImageStreamInit()
This function is ready for image preview, Use for 2D scanner only.
|
int |
aDecodeImageStreamRead(byte[] buffer)
This function is maintenance to continuous image preview, Use for 2D scanner only.
|
boolean |
aDecodeImageStreamStart()
This function is start of image preview, Use for 2D scanner only.
|
boolean |
aDecodeImageStreamStop()
This function is stop the image preview, Use for 2D scanner Only.
|
void |
aDecodeOemInit()
This function do change the setting by OEM default status.
|
boolean |
aDecodeSendArbitraryCommand(byte[] command)
This function can send arbitrary commands to the scanner module.
|
void |
aDecodeSet1DQuietZoneLevel(int level)
This function set levels of aggressiveness in decoding bar codes with a reduced quiet zone, Use for 2D scanner only.
|
void |
aDecodeSetAction(ActionConfig actionInfo,
int styleOrder,
int actionOrder)
This function modify the action configuration.
|
void |
aDecodeSetAdaptiveScanningMode(int adaptiveScanning)
This function can set the adaptive scanning mode.
|
void |
aDecodeSetAimerEnable(int enable)
This function set the aimer mode.
|
void |
aDecodeSetAimerTimeOut(int timeout)
This function set the aimer mode timeout.
|
void |
aDecodeSetAimOn(int aimOn)
This function do decision to Aimer use or not, Use for 2D scanner Only.
|
void |
aDecodeSetBeepEnable(int enable)
This function do decision to Beep notification use or not.
|
void |
aDecodeSetBeepFailFile(java.lang.String beepFailFile)
This function do decision to Beep fail file name.
|
void |
aDecodeSetBeepSuccessFile(java.lang.String beepSuccessFile)
This function do decision to Beep success file name.
|
void |
aDecodeSetBidirectionalMode(int bidirectionalMode)
This function can set Bi-directional mode.
|
void |
aDecodeSetCenterWindowEnable(int enable)
This function do decision to center window mode use or not, Use for 2D scanner Only.
|
void |
aDecodeSetCenterWindowTolerance(int tolerance)
This function set the center window tolerance.
|
void |
aDecodeSetCharset(java.lang.String charset)
This function set string value of charset, Use for 2D scanner only.
|
void |
aDecodeSetClockMode24Mhz(int enable)
Deprecated.
Not supported on Andoird.
|
void |
aDecodeSetCondition(ConditionConfig conditionInfo,
int styleOrder)
This function modify the condition configuration.
|
void |
aDecodeSetDecodeDelay(int delayMillisecond)
This function do decision to decode delay use or not, Use for 2D(N660X, SE47XX) Only.
|
void |
aDecodeSetDecodeEnable(int enable)
This function can select the decoder use or not.
|
void |
aDecodeSetDecodeMode(int decodeMode)
This function do select to decode mode, Use for 2D(N660X) Only.
|
void |
aDecodeSetDefaultAll()
This function do change the setting by Factory default status.
|
void |
aDecodeSetDefaultEnable(int defaultEnable)
Deprecated.
|
void |
aDecodeSetExposureSettings(ExposureSettings exposureSetting)
This function do decision to exposure settings, Use for 2D(N660X) Only.
|
void |
aDecodeSetGroupSeparator(int separator)
This function set integer value of group separator.
|
void |
aDecodeSetIllumLevel(int level)
Deprecated.
|
void |
aDecodeSetIllumOn(int illumOn)
This function do decision to Illumination use or not, Use for 2D scanner Only.
|
void |
aDecodeSetIntercharacterGapSize(int size)
This function set size of intercharacter gap for code39 and codabar, Use for 2D(SE47XX) Only.
|
void |
aDecodeSetInverse1DMode(int mode)
This function set mode about inverse 1D, Use for 2D scanner Only.
|
void |
aDecodeSetLedEnable(int enable)
This function do decision to LED notification use or not.
|
void |
aDecodeSetLinearSecurityLevel(int linearSecurityLevel)
This function can set the linear security level value.
|
void |
aDecodeSetMultipleConfirm(int multiConfirm)
Deprecated.
Supported scanner is not installed.
|
void |
aDecodeSetOCRTemplates(OCRProperty OCRTemplates)
This function do decision to OCR Templates, Use for 2D scanner Only.
|
void |
aDecodeSetParameter(int tag,
int value)
This function allows direct access to set any of the decoder library parameters.
|
void |
aDecodeSetPEWEnable(int enable)
This function can select the extended wedge use or not.
|
void |
aDecodeSetPhoneDisplayMode(int enable)
This function do decision to mobile phone/display mode use or not, Use for 2D scanner only.
|
void |
aDecodeSetPostfix(java.lang.String postfix)
This function do decision to postfix data.
|
void |
aDecodeSetPostfixEnable(int enable)
This function do decision to postfix use or not.
|
void |
aDecodeSetPowerSaveMode(int powerSaveMode)
This function sets power save mode.
|
void |
aDecodeSetPowerSaveTimeOut(int powerSaveTimeOut)
This function sets the power save timeout value.
|
void |
aDecodeSetPrefix(java.lang.String prefix)
This function do decision to prefix data.
|
void |
aDecodeSetPrefixEnable(int enable)
This function do decision to prefix use or not.
|
void |
aDecodeSetRedundancyLevel(int level)
This function set levels of decode redundancy, Use for 2D scanner only.
|
void |
aDecodeSetResultAimIdEnable(int enable)
This function do decision to transmit aimer ID after decoding.
|
void |
aDecodeSetResultSymIdEnable(int enable)
This function do decision to transmit symbology ID after decoding.
|
void |
aDecodeSetResultType(int resultType)
This function do decision to decode result notification type after decoding.
|
void |
aDecodeSetSameReadDataValidation(int level)
This function set the same read data validation.
|
void |
aDecodeSetScanAngle(int scanAngle)
This function can set the scanner angle degree.
|
boolean |
aDecodeSetScanImageMode(int imageMode)
This function do decision to image mode use or not, Use for 2D(N660X) Only.
|
void |
aDecodeSetSecurityLevel(int level)
This function set levels of decode security, Use for 2D scanner only.
|
void |
aDecodeSetStyle(StyleConfig styleInfo,
int styleOrder)
This function modify the style configuration.
|
void |
aDecodeSetTerminator(int terminator)
This function do decision to terminator value.
|
void |
aDecodeSetTriggerEnable(int enable)
This function do decision to trigger use or not.
|
void |
aDecodeSetTriggerInterval(int triggerInterval)
This function do decision to auto scan trigger interval time.
|
void |
aDecodeSetTriggerMode(int triggerMode)
This function do decision to trigger mode.
|
void |
aDecodeSetTriggerOn(int triggerOn)
This function do trigger on or off.
|
void |
aDecodeSetTriggerTimeout(int triggerTimeout)
This function do decision to trigger timeout value.
|
void |
aDecodeSetVibratorEnable(int enable)
This function do decision to Vibrator notification use or not.
|
void |
aDecodeSetVibratorFailInterval(int vibratorFailInterval)
This function do decision to Vibration time after decode fail.
|
void |
aDecodeSetVibratorSuccessInterval(int vibratorSuccessInterval)
This function do decision to Vibration time after decode success.
|
int |
aDecodeSymGetDefaultMax(int symIndex)
This function get the each symbology's default range
|
int |
aDecodeSymGetDefaultMin(int symIndex)
This function get the each symbology's default range
|
int |
aDecodeSymGetEnable(int symIndex)
This function get the each symbology use or not.
|
int |
aDecodeSymGetLocalPropChain(int symIndex,
int localPropIndex)
This function get the chaining number of each property.
|
int |
aDecodeSymGetLocalPropCount(int symIndex)
This function get the propertys count of each symbology.
|
int |
aDecodeSymGetLocalPropEnable(int symIndex,
int localPropIndex)
This function get the each each property use or not.
|
java.lang.String |
aDecodeSymGetLocalPropName(int symIndex,
int localPropIndex)
This function get the name of each property.
|
int |
aDecodeSymGetMax(int symIndex)
This function get the each range of each symbology
|
int |
aDecodeSymGetMin(int symIndex)
This function get the each range of each symbology
|
int |
aDecodeSymGetMinMaxEnable(int symIndex)
This function get the each symbology use range or not.
|
java.lang.String |
aDecodeSymGetName(int symIndex)
This function get the name of each symbology.
|
int |
aDecodeSymGetRangeMax(int symIndex)
This function get the each symbology's range
|
int |
aDecodeSymGetRangeMin(int symIndex)
This function get the each symbology's range
|
int |
aDecodeSymGetRedundancy(int symIndex)
This function get the each symbology's redundancy value, Use for 1D scanner only.
|
char |
aDecodeSymGetSymId(int symIndex)
This function get the ID of each symbology.
|
void |
aDecodeSymSetEnable(int symIndex,
int enable)
This function do decision to each symbology use or not.
|
void |
aDecodeSymSetLocalPropEnable(int symIndex,
int localPropIndex,
int enable)
This function do decision to each property use or not.
|
void |
aDecodeSymSetMax(int symIndex,
int max)
This function do decision to range of each symbology.
|
void |
aDecodeSymSetMin(int symIndex,
int min)
This function do decision to range of each symbology.
|
void |
aDecodeSymSetRedundancy(int symIndex,
int redundancy)
This function do decision to each symbology's redundancy value, Use for 1D scanner only.
|
void |
aDecodeSymSetSymId(int symIndex,
char symId)
This function do decision to ID of each symbology.
|
boolean |
aRegisterDecodeStateCallback(DecodeStateCallback callback)
Register a callback to be invoked when scanner state is changed.
|
boolean |
aUnregisterDecodeStateCallback(DecodeStateCallback callback)
Unregister a callback that was registered.
|
static ScanManager |
getInstance() |
public static ScanManager getInstance()
@Deprecated public void aDecodeAPIInit()
ScanManager.aDecodeAPIInit()
@Deprecated public void aDecodeAPIDeinit()
ScanManager.aDecodeAPIDeinit()
public int aDecodeAPIGetVersion()
0xMMmmBBrr
- (MM=major, mm=minor, BB=bugfix, rr=reserved)public int aDecodeGetModuleType()
public final static class ScannerType { private ScannerType() { } public static final int DCD_MODULE_TYPE_UNKNOWN = -1; public static final int DCD_MODULE_TYPE_NONE = 0; public static final int DCD_MODULE_TYPE_IT4000 = 5; public static final int DCD_MODULE_TYPE_IT4100 = 6; public static final int DCD_MODULE_TYPE_IT4300 = 7; public static final int DCD_MODULE_TYPE_IT5100 = 8; public static final int DCD_MODULE_TYPE_IT5300 = 9; public static final int DCD_MODULE_TYPE_N5603 = 12; public static final int DCD_MODULE_TYPE_N5600 = 13; public static final int DCD_MODULE_TYPE_IS4813 = 14; public static final int DCD_MODULE_TYPE_HI704A = 15; public static final int DCD_MODULE_TYPE_N4313 = 16; public static final int DCD_MODULE_TYPE_N6603 = 17; public static final int DCD_MODULE_TYPE_SE955 = 20; public static final int DCD_MODULE_TYPE_SE4500 = 21; public static final int DCD_MODULE_TYPE_SE655 = 22; public static final int DCD_MODULE_TYPE_SE965 = 23; public static final int DCD_MODULE_TYPE_SE4710 = 24; public static final int DCD_MODULE_TYPE_UE966 = 25; public static final int DCD_MODULE_TYPE_CR8000 = 26; public static final int DCD_MODULE_TYPE_SE4750 = 27; public static final int DCD_MODULE_TYPE_MDL1500 = 28; }
public java.lang.String aDecodeGetModuleName()
public java.lang.String aDecodeGetModuleVersion()
public java.lang.String aDecodeGetAPIVersion()
public java.lang.String aDecodeGetDriverVersion()
public int aDecodeGetSupport2D()
public java.lang.String aDecodeGetSerialNumber()
public java.lang.String aDecodeGetFocusType()
public void aDecodeOemInit()
public void aDecodeSetDefaultAll()
public void aDecodeSetDecodeEnable(int enable)
enable
- mean decoder use or not, If Nonzero, decoder is enable.ScanManager.aDecodeGetDecodeEnable()
public int aDecodeGetDecodeEnable()
ScanManager.aDecodeSetDecodeEnable(int)
public void aDecodeSetResultType(int resultType)
resultType
- mean result notification type. Result notification type is as below.
public final static class ResultType { private ResultType() { } public static final int DCD_RESULT_USERMSG = 0; public static final int DCD_RESULT_KBDMSG = 1; public static final int DCD_RESULT_COPYPASTE = 2; public static final int DCD_RESULT_EVENT = 3; }
ScanManager.aDecodeGetResultType()
public int aDecodeGetResultType()
public final static class ResultType { private ResultType() { } public static final int DCD_RESULT_USERMSG = 0; public static final int DCD_RESULT_KBDMSG = 1; public static final int DCD_RESULT_COPYPASTE = 2; public static final int DCD_RESULT_EVENT = 3; }
ScanManager.aDecodeSetResultType(int)
public void aDecodeSetResultSymIdEnable(int enable)
enable
- mean transmit symbology ID. If Nonzero, decode result include symbology ID.ScanManager.aDecodeGetResultSymIdEnable()
public int aDecodeGetResultSymIdEnable()
ScanManager.aDecodeSetResultSymIdEnable(int)
public void aDecodeGetResult(DecodeResult decodeResult)
decodeResult
- mean class of DecodeResult.public void aDecodeSetPrefixEnable(int enable)
enable
- mean prefix use or not, If prefix is enable then decode result include prefix data.ScanManager.aDecodeGetPrefixEnable()
public int aDecodeGetPrefixEnable()
ScanManager.aDecodeSetPrefixEnable(int)
public void aDecodeSetPrefix(java.lang.String prefix)
prefix
- mean prefix data.ScanManager.aDecodeGetPrefix()
public java.lang.String aDecodeGetPrefix()
ScanManager.aDecodeSetPrefix(java.lang.String)
public void aDecodeSetPostfixEnable(int enable)
enable
- mean postfix use or not, If postfix is enable then decode result include postfix data.ScanManager.aDecodeGetPostfixEnable()
public int aDecodeGetPostfixEnable()
ScanManager.aDecodeSetPostfixEnable(int)
public void aDecodeSetPostfix(java.lang.String postfix)
postfix
- mean postfix data.ScanManager.aDecodeGetPostfix()
public java.lang.String aDecodeGetPostfix()
ScanManager.aDecodeSetPostfix(java.lang.String)
public void aDecodeSetCharset(java.lang.String charset)
charset
- means string value of charset.device.sdk.ScanManager#aDecodeGetCharset.
public java.lang.String aDecodeGetCharset()
device.sdk.ScanManager#aDecodeSetCharset.
public void aDecodeSetTerminator(int terminator)
terminator
- mean terminator value, Terminator value is as below.
public final static class Terminator { private Terminator() { } public static final int DCD_TERMINATOR_NONE = 0; public static final int DCD_TERMINATOR_CRLF = 1; // @deprecated use DCD_TERMINATOR_LF instead. public static final int DCD_TERMINATOR_SPACE = 2; public static final int DCD_TERMINATOR_TAB = 3; public static final int DCD_TERMINATOR_CR = 4; // @deprecated use DCD_TERMINATOR_LF instead. public static final int DCD_TERMINATOR_LF = 5; public static final int DCD_TERMINATOR_TAB_CRLF = 6; // @deprecated use DCD_TERMINATOR_TAB_LF instead. public static final int DCD_TERMINATOR_TAB_LF = DCD_TERMINATOR_TAB_CRLF; }
ScanManager.aDecodeGetTerminator()
public int aDecodeGetTerminator()
public final static class Terminator { private Terminator() { } public static final int DCD_TERMINATOR_NONE = 0; public static final int DCD_TERMINATOR_CRLF = 1; // @deprecated use DCD_TERMINATOR_LF instead. public static final int DCD_TERMINATOR_SPACE = 2; public static final int DCD_TERMINATOR_TAB = 3; public static final int DCD_TERMINATOR_CR = 4; // @deprecated use DCD_TERMINATOR_LF instead. public static final int DCD_TERMINATOR_LF = 5; public static final int DCD_TERMINATOR_TAB_CRLF = 6; // @deprecated use DCD_TERMINATOR_TAB_LF instead. public static final int DCD_TERMINATOR_TAB_LF = DCD_TERMINATOR_TAB_CRLF; }
ScanManager.aDecodeSetTerminator(int)
public void aDecodeSetPEWEnable(int enable)
dwEnable
- mean extended wedge use or not.device.sdk.ScanManager#aDecodeGetPEWEnable.
public int aDecodeGetPEWEnable()
ScanManager.aDecodeSetPEWEnable(int)
public int aDecodeGetStyleTotalCount()
public void aDecodeSetStyle(StyleConfig styleInfo, int styleOrder)
styleInfo
- mean class of style configuration.styleOrder
- mean style order that you want to modify.device.sdk.ScanManager#aDecodeGetStyle.
public void aDecodeGetStyle(StyleConfig styleInfo, int styleOrder)
styleInfo
- mean class of style configuration.styleOrder
- mean style order that you want to get.device.sdk.ScanManager#aDecodeSetStyle.
public void aDecodeAddStyle(StyleConfig styleInfo)
styleInfo
- mean class of style configuration.device.sdk.ScanManager#aDecodeDeleteStyle.
public void aDecodeDeleteStyle(int styleOrder)
dwStyleOrder
- mean style order that you want to delete.device.sdk.ScanManager#aDecodeAddStyle.
public void aDecodeSetCondition(ConditionConfig conditionInfo, int styleOrder)
conditionInfo
- mean class of condition configuration.styleOrder
- mean style order that you want to modify.device.sdk.ScanManager#aDecodeGetCondition.
public void aDecodeGetCondition(ConditionConfig conditionInfo, int styleOrder)
conditionInfo
- mean class of condition configuration.styleOrder
- mean style order that you want to get.device.sdk.ScanManager#aDecodeSetCondition.
public void aDecodeSetAction(ActionConfig actionInfo, int styleOrder, int actionOrder)
actionInfo
- mean class of action configuration.styleOrder
- mean style order that you want to modify.actionOrder
- mean action order that you want to modify.device.sdk.ScanManager#aDecodeGetAction.
public void aDecodeGetAction(ActionConfig actionInfo, int styleOrder, int actionOrder)
actionInfo
- mean class of action configuration.styleOrder
- mean style order that you want to get.actionOrder
- mean action order that you want to get.device.sdk.ScanManager#aDecodeSetAction.
public void aDecodeAddAction(ActionConfig actionInfo, int styleOrder)
actionInfo
- mean class of action configuration.styleOrder
- mean style order that you want to add.device.sdk.ScanManager#aDecodeDeleteAction.
public void aDecodeDeleteAction(int styleOrder, int actionOrder)
styleOrder
- mean style order that you want to delete.actionOrder
- mean action order that you want to delete.device.sdk.ScanManager#aDecodeAddAction.
public java.lang.String aDecodeGetActionName(int actionIndex)
actionIndex
- mean action index that you want to get the name.public void aDecodeSetTriggerMode(int triggerMode)
triggerMode
- mean trigger mode, trigger mode is as below.
public final static class TriggerMode { private TriggerMode() { } public static final int DCD_TRIGGER_MODE_ONESHOT = 0; public static final int DCD_TRIGGER_MODE_AUTO = 1; public static final int DCD_TRIGGER_MODE_CONTINUOUS = 2; }
ScanManager.aDecodeGetTriggerMode()
public int aDecodeGetTriggerMode()
public final static class TriggerMode { private TriggerMode() { } public static final int DCD_TRIGGER_MODE_ONESHOT = 0; public static final int DCD_TRIGGER_MODE_AUTO = 1; public static final int DCD_TRIGGER_MODE_CONTINUOUS = 2; }
ScanManager.aDecodeSetTriggerMode(int)
public void aDecodeSetTriggerInterval(int triggerInterval)
triggerInterval
- mean auto scan trigger interval time, Base is milli-second.ScanManager.aDecodeGetTriggerInterval()
public int aDecodeGetTriggerInterval()
ScanManager.aDecodeSetTriggerInterval(int)
public void aDecodeSetTriggerOn(int triggerOn)
triggerOn
- mean trigger on or off, If set 1, trigger on.public void aDecodeSetTriggerEnable(int enable)
enable
- mean trigger use or not, If Nonzero, can control trigger.ScanManager.aDecodeGetTriggerEnable()
public int aDecodeGetTriggerEnable()
ScanManager.aDecodeSetTriggerEnable(int)
public void aDecodeSetTriggerTimeout(int triggerTimeout)
triggerTimeout
- mean trigger timeout value, Base is milli-second.ScanManager.aDecodeGetTriggerTimeout()
public int aDecodeGetTriggerTimeout()
ScanManager.aDecodeSetTriggerTimeout(int)
public void aDecodeSetLedEnable(int enable)
enable
- mean LED notification use or not.ScanManager.aDecodeGetLedEnable()
public int aDecodeGetLedEnable()
ScanManager.aDecodeSetTriggerTimeout(int)
public void aDecodeSetBeepEnable(int enable)
enable
- mean Beep notification use or not.ScanManager.aDecodeGetBeepEnable()
public int aDecodeGetBeepEnable()
ScanManager.aDecodeSetBeepEnable(int)
public void aDecodeSetBeepSuccessFile(java.lang.String beepSuccessFile)
beepSuccessFile
- mean Beep success file name.ScanManager.aDecodeGetBeepSuccessFile()
public java.lang.String aDecodeGetBeepSuccessFile()
ScanManager.aDecodeSetBeepSuccessFile(java.lang.String)
public void aDecodeSetBeepFailFile(java.lang.String beepFailFile)
beepFailFile
- mean Beep fail file name.ScanManager.aDecodeGetBeepFailFile()
public java.lang.String aDecodeGetBeepFailFile()
ScanManager.aDecodeSetBeepFailFile(java.lang.String)
public void aDecodeSetVibratorEnable(int enable)
enable
- mean Vibrator notification use or not.ScanManager.aDecodeGetVibratorEnable()
public int aDecodeGetVibratorEnable()
ScanManager.aDecodeSetVibratorEnable(int)
public void aDecodeSetVibratorSuccessInterval(int vibratorSuccessInterval)
vibratorSuccessInterval
- mean Vibration time after decode success.(Base is milli-second)ScanManager.aDecodeGetVibratorSuccessInterval()
public int aDecodeGetVibratorSuccessInterval()
ScanManager.aDecodeSetVibratorSuccessInterval(int)
public void aDecodeSetVibratorFailInterval(int vibratorFailInterval)
vibratorFailInterval
- mean Vibration time after decode fail.(Base is milli-second)ScanManager.aDecodeGetVibratorFailInterval()
public int aDecodeGetVibratorFailInterval()
ScanManager.aDecodeSetVibratorFailInterval(int)
public void aDecodeSymSetEnable(int symIndex, int enable)
symIndex
- mean symbology index.enable
- mean symbology use or not.ScanManager.aDecodeSymGetEnable(int)
public int aDecodeSymGetEnable(int symIndex)
symIndex
- mean symbology index.ScanManager.aDecodeSymSetEnable(int, int)
public java.lang.String aDecodeSymGetName(int symIndex)
symIndex
- mean symbology index.public int aDecodeSymGetMinMaxEnable(int symIndex)
symIndex
- mean symbology index.public void aDecodeSymSetMin(int symIndex, int min)
symIndex
- mean symbology index.min
- mean min value of range.ScanManager.aDecodeSymGetMin(int)
public int aDecodeSymGetMin(int symIndex)
symIndex
- mean symbology index.ScanManager.aDecodeSymSetMin(int, int)
public void aDecodeSymSetMax(int symIndex, int max)
symIndex
- mean symbology index.max
- mean max value of range.ScanManager.aDecodeSymGetMax(int)
public int aDecodeSymGetMax(int symIndex)
symIndex
- mean symbology index.ScanManager.aDecodeSymSetMax(int, int)
public int aDecodeSymGetDefaultMin(int symIndex)
symIndex
- mean symbology index.public int aDecodeSymGetDefaultMax(int symIndex)
symIndex
- mean symbology index.public int aDecodeSymGetRangeMin(int symIndex)
symIndex
- mean symbology index.public int aDecodeSymGetRangeMax(int symIndex)
symIndex
- mean symbology index.public void aDecodeSymSetSymId(int symIndex, char symId)
symIndex
- mean symbology index.symId
- mean ID of each symbology.ScanManager.aDecodeSymGetSymId(int)
public char aDecodeSymGetSymId(int symIndex)
symIndex
- mean symbology index.ScanManager.aDecodeSymSetSymId(int, char)
public int aDecodeSymGetLocalPropCount(int symIndex)
symIndex
- mean symbology index.public java.lang.String aDecodeSymGetLocalPropName(int symIndex, int localPropIndex)
symIndex
- mean symbology index.localPropIndex
- mean index of each property.public int aDecodeSymGetLocalPropChain(int symIndex, int localPropIndex)
symIndex
- mean symbology index.localPropIndex
- mean index of each property.public void aDecodeSymSetLocalPropEnable(int symIndex, int localPropIndex, int enable)
symIndex
- mean symbology index.localPropIndex
- mean index of each property.enable
- mean each property use or not.ScanManager.aDecodeSymGetLocalPropEnable(int, int)
public int aDecodeSymGetLocalPropEnable(int symIndex, int localPropIndex)
symIndex
- mean symbology index.localPropIndex
- mean index of each property.ScanManager.aDecodeSymSetLocalPropEnable(int, int, int)
@Deprecated public void aDecodeSetClockMode24Mhz(int enable)
enable
- mean clock mode is 24MHz.ScanManager.aDecodeGetClockMode24Mhz()
@Deprecated public int aDecodeGetClockMode24Mhz()
ScanManager.aDecodeSetClockMode24Mhz(int)
public void aDecodeSetExposureSettings(ExposureSettings exposureSetting)
exposureSetting
- mean class of ExposureSettings.ScanManager.aDecodeGetExposureSettings(device.common.ExposureSettings)
public void aDecodeGetExposureSettings(ExposureSettings exposureSetting)
exposureSetting
- mean class of ExposureSettings.ScanManager.aDecodeSetExposureSettings(device.common.ExposureSettings)
public void aDecodeSetOCRTemplates(OCRProperty OCRTemplates)
OCRTemplates
- mean class of OCRProperty.ScanManager.aDecodeGetOCRTemplates(device.common.OCRProperty)
public void aDecodeGetOCRTemplates(OCRProperty OCRTemplates)
OCRTemplates
- mean class of OCRProperty.ScanManager.aDecodeGetOCRTemplates(device.common.OCRProperty)
public boolean aDecodeImageStreamInit()
public boolean aDecodeImageStreamStart()
public int aDecodeImageStreamRead(byte[] buffer)
buffer
- mean buffer for image data.public boolean aDecodeImageStreamStop()
@Deprecated public int aDecodeImageStreamGetWidth()
@Deprecated public int aDecodeImageStreamGetHeight()
public int aDecodeImageCapture(byte[] buffer)
buffer
- mean buffer for captured image data.@Deprecated public int aDecodeImageCaptureGetWidth()
@Deprecated public int aDecodeImageCaptureGetHeight()
public boolean aDecodeSetScanImageMode(int imageMode)
imageMode
- mean image mode use or not.ScanManager.aDecodeGetScanImageMode()
public int aDecodeGetScanImageMode()
ScanManager.aDecodeGetScanImageMode()
public void aDecodeSetCenterWindowEnable(int enable)
enable
- mean center window mode use or not.ScanManager.aDecodeGetCenterWindowEnable()
public int aDecodeGetCenterWindowEnable()
ScanManager.aDecodeSetCenterWindowEnable(int)
public void aDecodeSetCenterWindowTolerance(int tolerance)
tolerance
- means center window tolerance level (Range : 0 ~ 100).ScanManager.aDecodeGetCenterWindowTolerance()
public int aDecodeGetCenterWindowTolerance()
ScanManager.aDecodeSetCenterWindowTolerance(int)
public void aDecodeSetDecodeMode(int decodeMode)
decodeMode
- mean decode mode value, decode mode value is as below.
public final static class DecodeMode { private DecodeMode() { } public static final int DCD_DECODE_MODE_STANDARD = 0; public static final int DCD_DECODE_MODE_QUICK_OMNI = 1; }
ScanManager.aDecodeGetDecodeMode()
public int aDecodeGetDecodeMode()
public final static class DecodeMode { private DecodeMode() { } public static final int DCD_DECODE_MODE_STANDARD = 0; public static final int DCD_DECODE_MODE_QUICK_OMNI = 1; }
ScanManager.aDecodeSetDecodeMode(int)
public void aDecodeSetDecodeDelay(int delayMillisecond)
delayMillisecond
- mean decode delay time, IF dwDelayMillisecond is 0, not use decode delay.ScanManager.aDecodeGetDecodeDelay()
public int aDecodeGetDecodeDelay()
ScanManager.aDecodeSetDecodeDelay(int)
public void aDecodeImageSetLightMode(int lightMode)
lightMode
- mean Imager light mode. Light mode value is as below.
public final static class LightMode { private LightMode() { } public static final int DCD_LIGHT_MODE_OFF = 0; public static final int DCD_LIGHT_MODE_ILLUM_ON = 1; public static final int DCD_LIGHT_MODE_AIM_ON = 2; public static final int DCD_LIGHT_MODE_ON = 3; }
ScanManager.aDecodeImageGetLightMode()
public int aDecodeImageGetLightMode()
public final static class LightMode { private LightMode() { } public static final int DCD_LIGHT_MODE_OFF = 0; public static final int DCD_LIGHT_MODE_ILLUM_ON = 1; public static final int DCD_LIGHT_MODE_AIM_ON = 2; public static final int DCD_LIGHT_MODE_ON = 3; }
ScanManager.aDecodeImageSetLightMode(int)
public void aDecodeSetAimOn(int aimOn)
aimOn
- mean Aimer use or not.ScanManager.aDecodeGetAimOn()
@Deprecated public int aDecodeGetAimOn()
ScanManager.aDecodeImageGetLightMode()
insteadScanManager.aDecodeSetAimOn(int)
public void aDecodeSetIllumOn(int illumOn)
illumOn
- mean Illumination use or not.ScanManager.aDecodeGetIllumOn()
@Deprecated public int aDecodeGetIllumOn()
ScanManager.aDecodeImageGetLightMode()
insteadScanManager.aDecodeSetIllumOn(int)
@Deprecated public void aDecodeSetIllumLevel(int level)
level
- mean illumination level. Level value is from 0 to 10.ScanManager.aDecodeGetIllumLevel()
@Deprecated public int aDecodeGetIllumLevel()
ScanManager.aDecodeSetIllumLevel(int)
public void aDecodeGetEngineConfig(EngineConfig enginConfig)
enginConfig
- class of EngineConfig.public void aDecodeSetLinearSecurityLevel(int linearSecurityLevel)
linearSecurityLevel
- mean linear security level value.
public final static class LinearSecurityLevel { private LinearSecurityLevel() {} public static final int LEVEL_1 = 1; public static final int LEVEL_2 = 2; public static final int LEVEL_3 = 3; public static final int LEVEL_4 = 4; }
ScanManager.aDecodeGetLinearSecurityLevel()
public int aDecodeGetLinearSecurityLevel()
public final static class LinearSecurityLevel { private LinearSecurityLevel() {} public static final int LEVEL_1 = 1; public static final int LEVEL_2 = 2; public static final int LEVEL_3 = 3; public static final int LEVEL_4 = 4; }
ScanManager.aDecodeSetLinearSecurityLevel(int)
public void aDecodeSetBidirectionalMode(int bidirectionalMode)
bidirectionalMode
- mean Bi-directional mode use or not.ScanManager.aDecodeGetBidirectionalMode()
public int aDecodeGetBidirectionalMode()
ScanManager.aDecodeSetBidirectionalMode(int)
public void aDecodeSetPowerSaveMode(int powerSaveMode)
powerSaveMode
- mean power save mode value, power save mode value is as below.(N4313 Only)
public final static class PowerSaveMode { private PowerSaveMode() {} public static final int POWER_SAVE_OFF = 0; public static final int POWER_SAVE_SLEEP = 1; public static final int POWER_SAVE_HIBERNATE = 2; }powerSaveMode mean power save mode use or not. If Nonzero, power save mode use.(Other scanners)
ScanManager.aDecodeGetPowerSaveMode()
public int aDecodeGetPowerSaveMode()
public final static class PowerSaveMode { private PowerSaveMode() {} public static final int POWER_SAVE_OFF = 0; public static final int POWER_SAVE_SLEEP = 1; public static final int POWER_SAVE_HIBERNATE = 2; }powerSaveMode mean power save mode use or not. If Nonzero, power save mode use.(Other scanners)
ScanManager.aDecodeSetPowerSaveMode(int)
public void aDecodeSetPowerSaveTimeOut(int powerSaveTimeOut)
powerSaveMode
- mean power save timeout value, Base is second.
N4313 & N660X can be set from 1 to 65553, but SE965 & SE965HP can be set 1s,10s,1m,5m,15m,30m,45m,1h,3h,6h,9h only.ScanManager.aDecodeGetPowerSaveTimeOut()
public int aDecodeGetPowerSaveTimeOut()
ScanManager.aDecodeSetPowerSaveTimeOut(int)
public void aDecodeSymSetRedundancy(int symIndex, int redundancy)
symIndex
- mean symbology index.redundancy
- mean symbology's redundancy value.ScanManager.aDecodeSymGetRedundancy(int)
public int aDecodeSymGetRedundancy(int symIndex)
symIndex
- mean symbology index.ScanManager.aDecodeSymSetRedundancy(int, int)
@Deprecated public void aDecodeSetMultipleConfirm(int multiConfirm)
@Deprecated public int aDecodeGetMultipleConfirm()
public void aDecodeSetScanAngle(int scanAngle)
scanAngle
- mean scanner angle degree. (10, 35, 47 degree only)ScanManager.aDecodeGetScanAngle()
public int aDecodeGetScanAngle()
ScanManager.aDecodeSetScanAngle(int)
public void aDecodeSetAdaptiveScanningMode(int adaptiveScanning)
adaptiveScanning
- mean adaptive scanning mode. 0 means do not use adaptive scanning mode.ScanManager.aDecodeGetAdaptiveScanningMode()
public int aDecodeGetAdaptiveScanningMode()
ScanManager.aDecodeSetAdaptiveScanningMode(int)
public void aDecodeSetAimerEnable(int enable)
enable
- means the aimer mode state, If true, aimer mode is on.ScanManager.aDecodeGetAimerEnable()
public int aDecodeGetAimerEnable()
ScanManager.aDecodeSetAimerEnable(int)
public void aDecodeSetAimerTimeOut(int timeout)
timeout
- means the aimer mode timeout, (milli-second)ScanManager.aDecodeGetAimerTimeOut()
public int aDecodeGetAimerTimeOut()
ScanManager.aDecodeSetAimerTimeOut(int)
@Deprecated public void aDecodeSetDefaultEnable(int defaultEnable)
@Deprecated public int aDecodeGetDefaultEnable()
public void aDecodeSetResultAimIdEnable(int enable)
enable
- means transmit aimer ID. If nonzero, decode result include aimer ID.ScanManager.aDecodeGetResultAimIdEnable()
public int aDecodeGetResultAimIdEnable()
ScanManager.aDecodeSetResultAimIdEnable(int)
public void aDecodeSetGroupSeparator(int separator)
separator
- means integer value of group separator.ScanManager.aDecodeGetGroupSeparator()
public int aDecodeGetGroupSeparator()
ScanManager.aDecodeSetGroupSeparator(int)
public void aDecodeSetRedundancyLevel(int level)
level
- means redundancy level value. level value is as below.
public final static class RedundancyLevel { private RedundancyLevel() {} public static final int LEVEL_1 = 1; public static final int LEVEL_2 = 2; public static final int LEVEL_3 = 3; public static final int LEVEL_4 = 4; }
ScanManager.aDecodeGetRedundancyLevel()
public int aDecodeGetRedundancyLevel()
public final static class RedundancyLevel { private RedundancyLevel() {} public static final int LEVEL_1 = 1; public static final int LEVEL_2 = 2; public static final int LEVEL_3 = 3; public static final int LEVEL_4 = 4; }
ScanManager.aDecodeSetRedundancyLevel(int)
public void aDecodeSetSecurityLevel(int level)
level
- means security level value. level value is as below.
public final static class SecurityLevel { private SecurityLevel() {} public static final int LEVEL_0 = 0; public static final int LEVEL_1 = 1; public static final int LEVEL_2 = 2; public static final int LEVEL_3 = 3; }
ScanManager.aDecodeGetSecurityLevel()
public int aDecodeGetSecurityLevel()
public final static class SecurityLevel { private SecurityLevel() {} public static final int LEVEL_0 = 0; public static final int LEVEL_1 = 1; public static final int LEVEL_2 = 2; public static final int LEVEL_3 = 3; }
ScanManager.aDecodeSetSecurityLevel(int)
public void aDecodeSetInverse1DMode(int mode)
mode
- means inverse 1D mode. mode value is as below.
public final static class Inverse1DMode { private Inverse1DMode() {} public static final int REGULAR_ONLY = 0; public static final int INVERSE_ONLY = 1; public static final int INVERSE_AUTODETECT = 2; }
ScanManager.aDecodeGetInverse1DMode()
public int aDecodeGetInverse1DMode()
public final static class Inverse1DMode { private Inverse1DMode() {} public static final int REGULAR_ONLY = 0; public static final int INVERSE_ONLY = 1; public static final int INVERSE_AUTODETECT = 2; }
ScanManager.aDecodeSetInverse1DMode(int)
public void aDecodeSet1DQuietZoneLevel(int level)
level
- means level value of 1D quiet zone. level value is as below.
public final static class QuietZone1DLevel { private QuietZone1DLevel() {} public static final int LEVEL_0 = 0; public static final int LEVEL_1 = 1; public static final int LEVEL_2 = 2; public static final int LEVEL_3 = 3; }
ScanManager.aDecodeGet1DQuietZoneLevel()
public int aDecodeGet1DQuietZoneLevel()
public final static class QuietZone1DLevel { private QuietZone1DLevel() {} public static final int LEVEL_0 = 0; public static final int LEVEL_1 = 1; public static final int LEVEL_2 = 2; public static final int LEVEL_3 = 3; }
ScanManager.aDecodeSet1DQuietZoneLevel(int)
public void aDecodeSetIntercharacterGapSize(int size)
size
- means size of intercharacter gap. size value is as below.
public final static class IntercharacterGapSize { private IntercharacterGapSize() {} public static final int NORMAL = 6; public static final int LARGE = 10; }
ScanManager.aDecodeGetIntercharacterGapSize()
public int aDecodeGetIntercharacterGapSize()
public final static class IntercharacterGapSize { private IntercharacterGapSize() {} public static final int NORMAL = 6; public static final int LARGE = 10; }
ScanManager.aDecodeSetIntercharacterGapSize(int)
public void aDecodeSetPhoneDisplayMode(int enable)
enable
- means mobile phone/display mode use or not.ScanManager.aDecodeGetPhoneDisplayMode()
public int aDecodeGetPhoneDisplayMode()
ScanManager.aDecodeSetPhoneDisplayMode(int)
public void aDecodeSetSameReadDataValidation(int level)
level
- means number of repeated reads give the same results (Range : 0 ~ 10),ScanManager.aDecodeGetSameReadDataValidation()
public int aDecodeGetSameReadDataValidation()
ScanManager.aDecodeSetSameReadDataValidation(int)
public void aDecodeSetParameter(int tag, int value)
tag
- means the decoder parameter that needs to be set.value
- means the value to set the parameter to.ScanManager.aDecodeGetParameter(int)
public int aDecodeGetParameter(int tag)
tag
- means the decoder parameter that needs to be get.ScanManager.aDecodeSetParameter(int, int)
public boolean aDecodeSendArbitraryCommand(byte[] command)
command
- means byte array data send to the engine.public boolean aRegisterDecodeStateCallback(DecodeStateCallback callback)
callback
- The callback that will run. (device.common.DecodeStateCallback)public boolean aUnregisterDecodeStateCallback(DecodeStateCallback callback)
callback
- The callback that was registered. (device.common.DecodeStateCallback)public int aDecodeGetLastError()
public final static class LastError { private LastError() { } public static final int ERROR_NO_ERROR = 0; public static final int ERROR_NOT_SUPPORTED = 1; public static final int ERROR_INVALID_PARAMETER = 2; public static final int ERROR_CANCELLED = 3; }