All Packages Class Hierarchy This Package Previous Next Index
Class com.bulletproof.util.Scanner
java.lang.Object
|
+----com.bulletproof.util.Scanner
- public final class Scanner
- extends Object
Scanner is a class to activate bar code scanning and set the types
of bar codes that can presently be scanned.
-
barBOOKLAND_EAN
-
-
barCODABAR
-
-
barCODE128
-
-
barCODE39
-
-
barCODE93
-
-
barCOUPON
-
-
barD25
-
-
barEAN13
-
-
barEAN8
-
-
barI2OF5
-
-
barISBT128
-
-
barMSI_PLESSEY
-
-
barTRIOPTIC39
-
-
barUCC_EAN128
-
-
barUPCA
-
-
barUPCE
-
-
barUPCE1
-
-
Scanner()
- Activates scanning on the handheld device.
-
activate()
- Activate scanning.
-
deactivate()
- Deactivate scanning.
-
setBarcodeEnabled(int, boolean)
- Set the scanning status of the specified barcode.
barCODE39
public static final int barCODE39
barUPCA
public static final int barUPCA
barUPCE
public static final int barUPCE
barEAN13
public static final int barEAN13
barEAN8
public static final int barEAN8
barD25
public static final int barD25
barI2OF5
public static final int barI2OF5
barCODABAR
public static final int barCODABAR
barCODE128
public static final int barCODE128
barCODE93
public static final int barCODE93
barTRIOPTIC39
public static final int barTRIOPTIC39
barUCC_EAN128
public static final int barUCC_EAN128
barMSI_PLESSEY
public static final int barMSI_PLESSEY
barUPCE1
public static final int barUPCE1
barBOOKLAND_EAN
public static final int barBOOKLAND_EAN
barISBT128
public static final int barISBT128
barCOUPON
public static final int barCOUPON
Scanner
public Scanner()
- Activates scanning on the handheld device.
activate
public static int activate()
- Activate scanning. Returns true if the device supports scanning and
it was successfully activated.
- Returns:
- whether scanning has been activated.
deactivate
public static int deactivate()
- Deactivate scanning. Returns true if the device supports scanning and
it was successfully deactivated.
- Returns:
- whether scanning has been deactivated.
setBarcodeEnabled
public static int setBarcodeEnabled(int barCodeType,
boolean enabled)
- Set the scanning status of the specified barcode.
- Parameters:
- barCodeType - the type of the bar code for which to set the status.
- enabled - whether to enable or disabled this bar code type from being scanned.
- Returns:
- whether the bar code status was successfully changed.
All Packages Class Hierarchy This Package Previous Next Index