Class DCSScannerInfo

  • Direct Known Subclasses:
    USBCDCScanner

    public class DCSScannerInfo
    extends java.lang.Object
    This class contains information about the scanner like id, Name, Model, Auto Re-Connection Reestablishment etc..
    • Constructor Detail

      • DCSScannerInfo

        public DCSScannerInfo()
    • Method Detail

      • getAuxiliaryScanners

        public java.util.HashMap<java.lang.Integer,​DCSScannerInfo> getAuxiliaryScanners()
      • getScannerID

        public int getScannerID()
        Method to access the scannerID
        Returns:
        Unique ID of the scanner
      • getConnectionType

        public DCSSDKDefs.DCSSDK_CONN_TYPES getConnectionType()
        Method to access the connectionType(if multiple connection types are supported)
        Returns:
        Connection type
      • isAutoCommunicationSessionReestablishment

        public boolean isAutoCommunicationSessionReestablishment()
        Method to know whether the scanner is configured to support connection reestablishment.
        Returns:
        true if connection reestablishment is enabled(false otherwise)
      • isActive

        public boolean isActive()
        Method which returns true/false depending on whether we are communicating with the scanner or not
        Returns:
        true/false
      • getScannerName

        public java.lang.String getScannerName()
        Method which returns the name of the scanner
        Returns:
        Name of the scanner
      • getScannerModel

        public java.lang.String getScannerModel()
        Method to access the model of the scanner
        Returns:
        Model of the scanner
      • getScannerHWSerialNumber

        public java.lang.String getScannerHWSerialNumber()
        Hardware serial number (Bluetooth Serial Number or HID serial number) of a particular scanner.
        Returns:
        Hardware serial number of the scanner