Class WaveLinkBarcode

The public class WaveLinkBarcode is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.

The method GetBarcodeFile is not supported on iOS.

The Class WaveLinkBarcode provides the methods necessary to define a list of barcode configurations for use within your applications. Each individual barcode configuration defines a valid or invalid barcode for input, based on type, state, and length.

Constructors

public WaveLinkBarcode()

public WaveLinkBarcode(IWaveLinkSession currentSession)

Fields

B_UPC

public static final int B_UPC

Barcode Type - This constant represents the barcode type B-UPC.

BCDISABLED

public static final int BCDISABLED

Default Decode State - All barcodes not defined in configuration are disabled.

BCENABLED

public static final int BCENABLED

Default Decode State - All barcodes not defined in configuration are enabled.

CODABAR

public static final int CODABAR

Barcode Type - This constant represents the barcode type CodaBar.

CODE_11

public static final int CODE_11

Barcode Type - This constant represents the barcode type Code-11.

CODE_39

public static final int CODE_39

Barcode Type - This constant represents the barcode type Code-39.

CODE_93

public static final int CODE_93

Barcode Type - This constant represents the barcode type Code-93.

CODE_128

public static final int CODE_128

Barcode Type - This constant represents the barcode type Code-128.

CODE_D25

public static final int CODE_D25

Barcode Type - This constant represents the barcode type Code-D25.

CODE_I25

public static final int CODE_I25

Barcode Type - This constant represents the barcode type Code-I25.

D25_IATA

public static final int D25_IATA

Barcode Type - This constant represents the barcode type D25-IATA.

EAN_8

public static final int EAN_8

Barcode Type - This constant represents the barcode type EAN-8.

EAN_13

public static final int EAN_13

Barcode Type - This constant represents the barcode type EAN-13.

MSI

public static final int MSI

Barcode Type - This constant represents the barcode type MSI.

NO_DEFAULT

public static final int NO_DEFAULT

Default Decode State - The default state for barcodes not defined in configuration remains unchanged.

PDF_417

public static final int PDF_417

Barcode Type - This constant represents the barcode type PDF-417.

TO_39

public static final int TO_39

Barcode Type - This constant represents the barcode type TO-39.

UCC_128

public static final int UCC_128

Barcode Type - This constant represents the barcode type UCC-128.

UPC_A

public static final int UPC_A

Barcode Type - This constant represents the barcode type UPC-A.

UPC_E0

public static final int UPC_E0

Barcode Type - This constant represents the barcode type UPC-E0.

UPC_E1

public static final int UPC_E1

Barcode Type - This constant represents the barcode type UPC-E1.

WLNOSYMBOLOGY

public static final int WLNOSYMBOLOGY

Barcode Type - This constant indicates that no symbology is returned.

defaultValue

public int defaultValue

Methods

AddBarcode Method

Adds a barcode configuration.

BarcodeCount Method

Returns the total number of barcode configurations.

WLBARBarcodeFileCount

Returns the total number of barcode configuration files.

BarcodeFileName Method

Returns the total number of barcode configuration files.

ClearBarcodes Method

Clears all barcode configurations.

Decode Method

Specifies the decode state of a barcode configuration at the specified index.

Default Method

Returns the default decode state for barcodes not explicitly defined within the current WaveLinkBarcode object.

DeleteBarcodeFile Method

Removes barcode files from the device.

Expand Method

Specifies the expand state of a barcode configuration at the specified index.

GetBarcodeFile Method

Retrieves a barcode configuration file into the current WaveLinkBarcode object.

ListBarcodeFiles Method

Returns the total number of barcode configuration files and stores the list in the current WaveLinkBarcode object.

MaxLength Method

Specifies the maximum input length of the barcode configuration at the specified index.

MinLength Method

Specifies the minimum input length of the barcode configuration at the specified index.

PullBarcode Method

Restores a barcode file as the device's default barcode configuration.

PushBarcode Method

Stores the device's default barcode configuration to a file for later restoration.

RemoveBarcode Method

Removes a barcode configuration

StoreBarcode Method

Stores the current WaveLinkBarcode object as a file on the device for later use.

Symbology Method

Sets the symbology type for a specific barcode configuration within the WaveLinkBarcode object.

Remarks

Individual barcode configurations are stored within a WaveLinkBarcode object. Each barcode is defined by type, decode state, expand state, minimum length, and maximum length.

Once defined, a specific barcode configuration remains within a WaveLinkBarcode object until either the object is released, the barcode configuration is removed from the object using the RemoveBarcode Method, or all barcode configurations are cleared from the object using the ClearBarcodes Method. This allows you to modify a single barcode configuration instead of creating a new barcode object for each individual instance.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

© 2016 Wavelink Corporation. All Rights Reserved.