Package com.zebra.scannercontrol
Class DCSScannerInfo
- java.lang.Object
-
- com.zebra.scannercontrol.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 Summary
Constructors Constructor Description DCSScannerInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.HashMap<java.lang.Integer,DCSScannerInfo>
getAuxiliaryScanners()
DCSSDKDefs.DCSSDK_CONN_TYPES
getConnectionType()
Method to access the connectionType(if multiple connection types are supported)java.lang.String
getScannerHWSerialNumber()
Hardware serial number (Bluetooth Serial Number or HID serial number) of a particular scanner.int
getScannerID()
Method to access the scannerIDjava.lang.String
getScannerModel()
Method to access the model of the scannerjava.lang.String
getScannerName()
Method which returns the name of the scannerboolean
isActive()
Method which returns true/false depending on whether we are communicating with the scanner or notboolean
isAutoCommunicationSessionReestablishment()
Method to know whether the scanner is configured to support connection reestablishment.
-
-
-
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
-
-