|
| static native int | MWBgetLibVersion () |
| | Returns version code of Barcode Scanner Library. More...
|
| |
|
static native String | MWBgetLibVersionText () |
| |
| static native int | MWBgetSupportedCodes () |
| | Returns supported decoders in this library release. More...
|
| |
| static native int | MWBsetScanningRect (int codeMask, float left, float top, float width, float height) |
| | Sets rectangular area for barcode scanning with selected single decoder type. More...
|
| |
| static native int | MWBsetTargetRect (float left, float top, float width, float height) |
| | Sets rectangular area for targeted barcode scanning. More...
|
| |
| static native float[] | MWBgetScanningRectArray (int codeMask) |
| | Get rectangular area for barcode scanning with selected single or multiple decoder type(s). More...
|
| |
| static native float[] | MWBgetTargetRectArray () |
| | Get rectangular area for targeted scanning Output values are in percentages of screeen width and height (range 0 - 100) More...
|
| |
| static native int | MWBregisterSDK (String key, Activity activity) |
| | Registers licensing information for all SDK functionality. More...
|
| |
| static native int | MWBregisterSDK (String key, Context context) |
| | Registers licensing information for all SDK functionality. More...
|
| |
| static native int | MWBregisterSDKCustom (String key, String customData, Context context) |
| | Same as RegisterSDK with addition of custom string to be sent along with tracking info. More...
|
| |
| static native String | MWBgetDeviceID () |
| | Get device ID. More...
|
| |
| static native String | MWBgetLicenseString () |
| | Get license string for retrieving remaining devices It should be called after registering call, and works only on iOS and Android. More...
|
| |
| static native int | MWBsetActiveCodes (int codeMask) |
| | Sets active or inactive status of decoder types and updates decoder execution priority list. More...
|
| |
| static native int | MWBgetActiveCodes () |
| | Get active decoder types. More...
|
| |
| static native int | MWBsetActiveSubcodes (int codeMask, int subMask) |
| | Set active subcodes for given code group flag. More...
|
| |
| static native int | MWBgetActiveSubcodes (int codeMask) |
| | Get active subcodes for given code group flag. More...
|
| |
| static native int | MWBenableCode (int codeMask) |
| | Enable decoder type. More...
|
| |
| static native int | MWBdisableCode (int codeMask) |
| | Disable decoder type Remove barcode type from set of enabled types. More...
|
| |
| static native int | MWBenableSubcode (int codeMask, int subMask) |
| | Enable subcode for given code group flag. More...
|
| |
| static native int | MWBdisableSubcode (int codeMask, int subMask) |
| | Disable subcode for given code group flag. More...
|
| |
| static native int | MWBcleanupLib () |
| | Free memory resources allocated by library. More...
|
| |
| static native int | MWBgetLastType () |
| | Retrieves actual detected code type after successful MWB_scanGrayscaleImage call. More...
|
| |
| static native int | MWBisLastGS1 () |
| | Retrieves is result of GS1 type. More...
|
| |
| static native byte[] | MWBscanGrayscaleImage (byte[] gray, int width, int height) |
| | Main scan function. More...
|
| |
|
static native byte[] | MWBscanByteBuffer (ByteBuffer gray, int width, int height) |
| |
| static native int | MWBsetFlags (int codeMask, int flags) |
| | Configure options for single barcode type. More...
|
| |
| static native int | MWBgetFlags (int codeMask) |
| | Get active flags for single barcode type. More...
|
| |
| static native int | MWBenableFlag (int codeMask, int flag) |
| | Enable option for single barcode type (or global one). More...
|
| |
| static native int | MWBdisableFlag (int codeMask, int flag) |
| | Disable option for single barcode type (or global one). More...
|
| |
| static native int | MWBsetParam (int codeMask, int paramId, int paramValue) |
| | Set custom decoder param. More...
|
| |
| static native int | MWBgetParam (int codeMask, int paramId) |
| | Get specified decoder param. More...
|
| |
| static native int | MWBsetLevel (int level) |
| | Configure global library effort level Barcode detector relies on image processing and geometry interpolation for extracting optimal data for decoding. More...
|
| |
| static native int | MWBsetDirection (int direction) |
| | Configure scanning direction for 1D barcodes. More...
|
| |
| static native int | MWBgetDirection () |
| | Get active scanning direction. More...
|
| |
| static native int | MWBvalidateVIN (byte[] vin) |
| | Checks if the input is a valid Vehicle Identification Number. More...
|
| |
| static native float[] | MWBgetBarcodeLocation () |
| | Barcode location points. More...
|
| |
| static native int | MWBsetResultType (int resultType) |
| | Set result type from MWB_scanGrayscaleImage Users now can choose between getting raw result bytes as a result of image scan, or byte representation of complex result structure containing all information about the scanned barcode. More...
|
| |
| static native int | MWBgetResultType () |
| | Get currently active result type. More...
|
| |
| static native int | MWBsetMinLength (int codeMask, int minLength) |
| | Set minimum result length for single barcode type. More...
|
| |
| static native int | MWBsetDuplicatesTimeout (int timeout) |
| | Set time in seconds in which decoder will ignore same barcode detected. More...
|
| |
| static native void | MWBsetDuplicate (byte[] barcode, int length) |
| | Set the decoded barcode result to be checked as duplicate. More...
|
| |
| static native int[] | MWBcropPreviewFrame (byte[] previewBuffer, int width, int height, int newSize) |
| | For use with StingRay. More...
|
| |
| static int | MWBsetScanningRect (int codeMask, Rect rect) |
| | Sets rectangular area for barcode scanning with selected single decoder type. More...
|
| |
|
static int | MWBsetTargetRect (Rect rect) |
| |
| static RectF | MWBgetScanningRect (int codeMask) |
| | Get rectangular area for barcode scanning with selected single or multiple decoder type(s). More...
|
| |
| static RectF | MWBgetTargetRect () |
| | Get rectangular area for targeted scanning Output values are in percentages of screeen width and height (range 0 - 100) More...
|
| |
|
|
static final int | MWB_RT_OK = 0 |
| | Basic return values for API functions.
|
| |
|
static final int | MWB_RT_FAIL = -1 |
| |
|
static final int | MWB_RT_NOT_SUPPORTED = -2 |
| |
|
static final int | MWB_RT_BAD_PARAM = -3 |
| |
|
static final int | MWB_RTREG_OK = 0 |
| | Basic return values for RegisterSDK function.
|
| |
|
static final int | MWB_RTREG_INVALID_KEY = -1 |
| |
|
static final int | MWB_RTREG_INVALID_CHECKSUM = -2 |
| |
|
static final int | MWB_RTREG_INVALID_APPLICATION = -3 |
| |
|
static final int | MWB_RTREG_INVALID_SDK_VERSION = -4 |
| |
|
static final int | MWB_RTREG_INVALID_KEY_VERSION = -5 |
| |
|
static final int | MWB_RTREG_INVALID_PLATFORM = -6 |
| |
|
static final int | MWB_RTREG_KEY_EXPIRED = -7 |
| |
|
static final int | MWB_RTREG_REGISTERING_IN_PROGRESS = -8 |
| |
|
static final int | MWB_RTREG_CUSTOM_SIZE_EXCEEDED = -100 |
| |
|
static final int | MWB_CFG_CODE39_REQUIRE_CHECKSUM = 0x2 |
| | Code39 decoder flags value: require checksum check.
|
| |
|
static final int | MWB_CFG_CODE39_DONT_REQUIRE_STOP = 0x4 |
| | Code39 decoder flags value: don't require stop symbol - can lead to false results.
|
| |
|
static final int | MWB_CFG_CODE39_EXTENDED_MODE = 0x8 |
| | Code39 decoder flags value: decode full ASCII.
|
| |
| static final int | MWB_CFG_CODE39_CODE32_ENABLED = 0x10 |
| | Code39 decoder flags value: Try decoding result to CODE32. More...
|
| |
|
static final int | MWB_CFG_CODE39_CODE32_PREFIX = 0x20 |
| | Code39 decoder flags value: ADD 'A' prefix to Code32 result.
|
| |
|
static final int | MWB_CFG_CODE93_EXTENDED_MODE = 0x8 |
| | Code93 decoder flags value: decode full ASCII.
|
| |
|
static final int | MWB_CFG_EANUPC_DISABLE_ADDON = 0x1 |
| | UPC/EAN decoder disable addons detection.
|
| |
|
static final int | MWB_CFG_EANUPC_DONT_EXPAND_UPCE = 0x2 |
| | UPC/EAN disable UPC-E expanding to UPC-A.
|
| |
|
static final int | MWB_CFG_CODE25_REQ_CHKSUM = 0x1 |
| | Code25 decoder flags value: require checksum check MWB_CFG_CODE25_REQ_CHKSUM is deprecated and shouldn't be used in combination with other checksum flags.
|
| |
|
static final int | MWB_CFG_CODE25_REQ_CHKSUM_STANDARD = 0x02 |
| |
|
static final int | MWB_CFG_CODE25_REQ_CHKSUM_INTERLEAVED = 0x04 |
| |
|
static final int | MWB_CFG_CODE25_REQ_CHKSUM_IATA = 0x08 |
| |
|
static final int | MWB_CFG_CODE25_REQ_CHKSUM_MATRIX = 0x10 |
| |
|
static final int | MWB_CFG_CODE25_REQ_CHKSUM_COOP = 0x20 |
| |
|
static final int | MWB_CFG_CODE25_REQ_CHKSUM_INVERTED = 0x40 |
| |
|
static final int | MWB_CFG_TELEPEN_FORCE_NUMERIC = 0x1 |
| | Telepen decoder flags.
|
| |
|
static final int | MWB_CFG_CODE11_REQ_SINGLE_CHKSUM = 0x1 |
| | Code11 decoder flags value: require checksum check MWB_CFG_CODE11_REQ_SINGLE_CHKSUM is set by default.
|
| |
|
static final int | MWB_CFG_CODE11_REQ_DOUBLE_CHKSUM = 0x2 |
| |
|
static final int | MWB_CFG_MSI_REQ_10_CHKSUM = 0x01 |
| | MSI Plessey decoder flags value: require checksum check MWB_CFG_MSI_REQ_10_CHKSUM is set by default.
|
| |
|
static final int | MWB_CFG_MSI_REQ_1010_CHKSUM = 0x02 |
| |
|
static final int | MWB_CFG_MSI_REQ_11_IBM_CHKSUM = 0x04 |
| |
|
static final int | MWB_CFG_MSI_REQ_11_NCR_CHKSUM = 0x08 |
| |
|
static final int | MWB_CFG_MSI_REQ_1110_IBM_CHKSUM = 0x10 |
| |
|
static final int | MWB_CFG_MSI_REQ_1110_NCR_CHKSUM = 0x20 |
| |
|
static final int | MWB_CFG_CODABAR_INCLUDE_STARTSTOP = 0x1 |
| | Codabar decoder flags value: include start/stop symbols in result.
|
| |
|
static final int | MWB_CFG_GLOBAL_HORIZONTAL_SHARPENING = 0x01 |
| | Global decoder flags value: apply sharpening on input image.
|
| |
|
static final int | MWB_CFG_GLOBAL_VERTICAL_SHARPENING = 0x02 |
| |
|
static final int | MWB_CFG_GLOBAL_SHARPENING = 0x03 |
| |
|
static final int | MWB_CFG_GLOBAL_ROTATE90 = 0x04 |
| | Global decoder flags value: apply rotation on input image.
|
| |
|
static final int | MWB_CFG_GLOBAL_ROTATE180 = 0x08 |
| |
|
static final int | MWB_CFG_GLOBAL_CALCULATE_1D_LOCATION = 0x10 |
| | Global decoder flags value: calculate location for 1D barcodeTypes (Code128, Code93, Code39 supported)
|
| |
|
static final int | MWB_CFG_GLOBAL_VERIFY_1D_LOCATION = 0x20 |
| | Global decoder flags value: fail 1D decode if result is not confirmed by location expanding (Code128, Code93, Code39 supported)
|
| |
|
static final int | MWB_CFG_GLOBAL_USE_CENTRIC_SCANNING = 0x40 |
| | Global decoder flags value: fail decode if result is not touching the center of viewfinder (2D + Code128, Code93, Code39 supported) 1D location flags will be enabled automatically with this one.
|
| |
|
static final int | MWB_CFG_GLOBAL_DISABLE_PREPROCESSING = 0x80 |
| | Global decoder flags value: disable some image pre=processing, suitable for devices with weak CPU.
|
| |
|
static final int | MWB_CFG_GLOBAL_ENABLE_MULTI = 0x100 |
| | Global decoder flags value: enable multi code scanning.
|
| |
|
static final int | MWB_CODE_MASK_NONE = 0x00000000 |
| | Bit mask identifiers for supported decoder types.
|
| |
|
static final int | MWB_CODE_MASK_QR = 0x00000001 |
| |
|
static final int | MWB_CODE_MASK_DM = 0x00000002 |
| |
|
static final int | MWB_CODE_MASK_RSS = 0x00000004 |
| |
|
static final int | MWB_CODE_MASK_39 = 0x00000008 |
| |
|
static final int | MWB_CODE_MASK_EANUPC = 0x00000010 |
| |
|
static final int | MWB_CODE_MASK_128 = 0x00000020 |
| |
|
static final int | MWB_CODE_MASK_PDF = 0x00000040 |
| |
|
static final int | MWB_CODE_MASK_AZTEC = 0x00000080 |
| |
|
static final int | MWB_CODE_MASK_25 = 0x00000100 |
| |
|
static final int | MWB_CODE_MASK_93 = 0x00000200 |
| |
|
static final int | MWB_CODE_MASK_CODABAR = 0x00000400 |
| |
|
static final int | MWB_CODE_MASK_DOTCODE = 0x00000800 |
| |
|
static final int | MWB_CODE_MASK_11 = 0x00001000 |
| |
|
static final int | MWB_CODE_MASK_MSI = 0x00002000 |
| |
|
static final int | MWB_CODE_MASK_MAXICODE = 0x00004000 |
| |
|
static final int | MWB_CODE_MASK_POSTAL = 0x00008000 |
| |
|
static final int | MWB_CODE_MASK_TELEPEN = 0x00010000 |
| |
|
static final int | MWB_CODE_MASK_ALL = 0xffffffff |
| |
|
static final int | MWB_SUBC_MASK_RSS_14 = 0x00000001 |
| | Bit mask identifiers for RSS decoder types.
|
| |
|
static final int | MWB_SUBC_MASK_RSS_LIM = 0x00000004 |
| |
|
static final int | MWB_SUBC_MASK_RSS_EXP = 0x00000008 |
| |
|
static final int | MWB_SUBC_MASK_QR_STANDARD = 0x00000001 |
| | Bit mask identifiers for QR decoder types.
|
| |
|
static final int | MWB_SUBC_MASK_QR_MICRO = 0x00000002 |
| |
|
static final int | MWB_SUBC_MASK_PDF_STANDARD = 0x00000001 |
| | Bit mask identifiers for PDF decoder types.
|
| |
|
static final int | MWB_SUBC_MASK_PDF_MICRO = 0x00000002 |
| |
|
static final int | MWB_SUBC_MASK_C25_INTERLEAVED = 0x00000001 |
| | Bit mask identifiers for Code 2 of 5 decoder types.
|
| |
|
static final int | MWB_SUBC_MASK_C25_STANDARD = 0x00000002 |
| |
|
static final int | MWB_SUBC_MASK_C25_ITF14 = 0x00000004 |
| |
|
static final int | MWB_SUBC_MASK_C25_IATA = 0x00000008 |
| |
|
static final int | MWB_SUBC_MASK_C25_MATRIX = 0x00000010 |
| |
|
static final int | MWB_SUBC_MASK_C25_COOP = 0x00000020 |
| |
|
static final int | MWB_SUBC_MASK_C25_INVERTED = 0x00000040 |
| |
|
static final int | MWB_SUBC_MASK_POSTAL_POSTNET = 0x00000001 |
| | Bit mask identifiers for POSTAL decoder types.
|
| |
|
static final int | MWB_SUBC_MASK_POSTAL_PLANET = 0x00000002 |
| |
|
static final int | MWB_SUBC_MASK_POSTAL_IM = 0x00000004 |
| |
|
static final int | MWB_SUBC_MASK_POSTAL_ROYAL = 0x00000008 |
| |
|
static final int | MWB_SUBC_MASK_POSTAL_AUSTRALIAN =0x00000010 |
| |
|
static final int | MWB_SUBC_MASK_EANUPC_EAN_13 = 0x00000001 |
| | Bit mask identifiers for UPC/EAN decoder types.
|
| |
|
static final int | MWB_SUBC_MASK_EANUPC_EAN_8 = 0x00000002 |
| |
|
static final int | MWB_SUBC_MASK_EANUPC_UPC_A = 0x00000004 |
| |
|
static final int | MWB_SUBC_MASK_EANUPC_UPC_E = 0x00000008 |
| |
|
static final int | MWB_SUBC_MASK_EANUPC_UPC_E1 = 0x00000010 |
| |
|
static final int | MWB_SCANDIRECTION_HORIZONTAL = 0x00000001 |
| | Bit mask identifiers for 1D scanning direction.
|
| |
|
static final int | MWB_SCANDIRECTION_VERTICAL = 0x00000002 |
| |
|
static final int | MWB_SCANDIRECTION_OMNI = 0x00000004 |
| |
|
static final int | MWB_SCANDIRECTION_AUTODETECT = 0x00000008 |
| |
|
static final int | FOUND_NONE = 0 |
| | Result values for all code types.
|
| |
|
static final int | FOUND_DM = 1 |
| |
|
static final int | FOUND_39 = 2 |
| |
|
static final int | FOUND_RSS_14 = 3 |
| |
|
static final int | FOUND_RSS_14_STACK = 4 |
| |
|
static final int | FOUND_RSS_LIM = 5 |
| |
|
static final int | FOUND_RSS_EXP = 6 |
| |
|
static final int | FOUND_EAN_13 = 7 |
| |
|
static final int | FOUND_EAN_8 = 8 |
| |
|
static final int | FOUND_UPC_A = 9 |
| |
|
static final int | FOUND_UPC_E = 10 |
| |
|
static final int | FOUND_128 = 11 |
| |
|
static final int | FOUND_PDF = 12 |
| |
|
static final int | FOUND_QR = 13 |
| |
|
static final int | FOUND_AZTEC = 14 |
| |
|
static final int | FOUND_25_INTERLEAVED = 15 |
| |
|
static final int | FOUND_25_STANDARD = 16 |
| |
|
static final int | FOUND_93 = 17 |
| |
|
static final int | FOUND_CODABAR = 18 |
| |
|
static final int | FOUND_DOTCODE = 19 |
| |
|
static final int | FOUND_128_GS1 = 20 |
| |
|
static final int | FOUND_ITF14 = 21 |
| |
|
static final int | FOUND_11 = 22 |
| |
|
static final int | FOUND_MSI = 23 |
| |
|
static final int | FOUND_25_IATA = 24 |
| |
|
static final int | FOUND_25_MATRIX = 25 |
| |
|
static final int | FOUND_25_COOP = 26 |
| |
|
static final int | FOUND_25_INVERTED = 27 |
| |
|
static final int | FOUND_QR_MICRO = 28 |
| |
|
static final int | FOUND_MAXICODE = 29 |
| |
|
static final int | FOUND_POSTNET = 30 |
| |
|
static final int | FOUND_PLANET = 31 |
| |
|
static final int | FOUND_IMB = 32 |
| |
|
static final int | FOUND_ROYALMAIL = 33 |
| |
|
static final int | FOUND_MICRO_PDF = 34 |
| |
|
static final int | FOUND_32 = 35 |
| |
|
static final int | FOUND_AUSTRALIAN = 36 |
| |
|
static final int | FOUND_TELEPEN = 37 |
| |
| static final int | MWB_RESULT_TYPE_RAW = 0x00000001 |
| | Result structure constants. More...
|
| |
|
static final int | MWB_RESULT_TYPE_MW = 0x00000002 |
| |
|
static final int | MWB_PAR_ID_ECI_MODE = 0x08 |
| | Barcode decoder param types.
|
| |
|
static final int | MWB_PAR_ID_RESULT_PREFIX = 0x10 |
| |
|
static final int | MWB_PAR_ID_VERIFY_LOCATION = 0x20 |
| |
|
static final int | MWB_PAR_ID_SCAN_COLOR = 0x40 |
| |
|
static final int | MWB_PAR_ID_SAFE_ZONE_SCALE = 0x80 |
| |
|
static final int | MWB_PAR_VALUE_ECI_DISABLED = 0x00 |
| | Barcode param values.
|
| |
|
static final int | MWB_PAR_VALUE_ECI_ENABLED = 0x01 |
| |
|
static final int | MWB_PAR_VALUE_RESULT_PREFIX_NEVER = 0x00 |
| |
|
static final int | MWB_PAR_VALUE_RESULT_PREFIX_ALWAYS = 0x01 |
| |
|
static final int | MWB_PAR_VALUE_RESULT_PREFIX_DEFAULT = 0x02 |
| |
|
static final int | MWB_PAR_VALUE_VERIFY_LOCATION_OFF = 0x00 |
| |
|
static final int | MWB_PAR_VALUE_VERIFY_LOCATION_ON = 0x01 |
| |
|
static final int | MWB_RESULT_FT_BYTES = 0x00000001 |
| | Identifiers for result fields types.
|
| |
|
static final int | MWB_RESULT_FT_TEXT = 0x00000002 |
| |
|
static final int | MWB_RESULT_FT_TYPE = 0x00000003 |
| |
|
static final int | MWB_RESULT_FT_SUBTYPE = 0x00000004 |
| |
|
static final int | MWB_RESULT_FT_SUCCESS = 0x00000005 |
| |
|
static final int | MWB_RESULT_FT_ISGS1 = 0x00000006 |
| |
|
static final int | MWB_RESULT_FT_LOCATION = 0x00000007 |
| |
|
static final int | MWB_RESULT_FT_IMAGE_WIDTH = 0x00000008 |
| |
|
static final int | MWB_RESULT_FT_IMAGE_HEIGHT = 0x00000009 |
| |
|
static final int | MWB_RESULT_FT_PARSER_BYTES = 0x0000000A |
| |
|
static final int | MWB_RESULT_FT_MODULES_COUNT_X = 0x0000000B |
| |
|
static final int | MWB_RESULT_FT_MODULES_COUNT_Y = 0x0000000C |
| |
|
static final int | MWB_RESULT_FT_MODULE_SIZE_X = 0x0000000D |
| |
|
static final int | MWB_RESULT_FT_MODULE_SIZE_Y = 0x0000000E |
| |
|
static final int | MWB_RESULT_FT_SKEW = 0x0000000F |
| |
|
static final int | MWB_RESULT_FT_KANJI = 0x00000010 |
| |
|
static final int | MWB_RESULT_FT_BARCODE_WIDTH = 0x00000011 |
| |
|
static final int | MWB_RESULT_FT_BARCODE_HEIGHT = 0x00000012 |
| |
|
static final int | MWB_RESULT_FT_TEXT_ENCODING = 0x00000013 |
| |
|
static final int | MWB_RESULT_FT_PDF_ROWS = 0x00000020 |
| |
|
static final int | MWB_RESULT_FT_PDF_COLUMNS = 0x00000021 |
| |
|
static final int | MWB_RESULT_FT_PDF_TRUNCATED = 0x00000022 |
| |
|
static final int | MWB_RESULT_FT_PDF_ECLEVEL = 0x00000023 |
| |
|
static final int | MWB_RESULT_FT_PDF_CODEWORDS = 0x00000024 |
| |