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.


Variable Index

 o barBOOKLAND_EAN
 o barCODABAR
 o barCODE128
 o barCODE39
 o barCODE93
 o barCOUPON
 o barD25
 o barEAN13
 o barEAN8
 o barI2OF5
 o barISBT128
 o barMSI_PLESSEY
 o barTRIOPTIC39
 o barUCC_EAN128
 o barUPCA
 o barUPCE
 o barUPCE1

Constructor Index

 o Scanner()
Activates scanning on the handheld device.

Method Index

 o activate()
Activate scanning.
 o deactivate()
Deactivate scanning.
 o setBarcodeEnabled(int, boolean)
Set the scanning status of the specified barcode.

Variables

 o barCODE39
 public static final int barCODE39
 o barUPCA
 public static final int barUPCA
 o barUPCE
 public static final int barUPCE
 o barEAN13
 public static final int barEAN13
 o barEAN8
 public static final int barEAN8
 o barD25
 public static final int barD25
 o barI2OF5
 public static final int barI2OF5
 o barCODABAR
 public static final int barCODABAR
 o barCODE128
 public static final int barCODE128
 o barCODE93
 public static final int barCODE93
 o barTRIOPTIC39
 public static final int barTRIOPTIC39
 o barUCC_EAN128
 public static final int barUCC_EAN128
 o barMSI_PLESSEY
 public static final int barMSI_PLESSEY
 o barUPCE1
 public static final int barUPCE1
 o barBOOKLAND_EAN
 public static final int barBOOKLAND_EAN
 o barISBT128
 public static final int barISBT128
 o barCOUPON
 public static final int barCOUPON

Constructors

 o Scanner
 public Scanner()
Activates scanning on the handheld device.

Methods

 o 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.
 o 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.
 o 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