Package com.zebra.scannercontrol
Class DCSScannerInfo
java.lang.Object
com.zebra.scannercontrol.DCSScannerInfo
- Direct Known Subclasses:
USBCDCScanner
This class contains information about the scanner like id, Name, Model, Auto Re-Connection Reestablishment etc..
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMethod to access the connectionType(if multiple connection types are supported)Hardware serial number (Bluetooth Serial Number or HID serial number) of a particular scanner.int
Method to access the scannerIDMethod to access the model of the scannerMethod which returns the name of the scannerboolean
isActive()
Method which returns true/false depending on whether we are communicating with the scanner or notboolean
Method to know whether the scanner is configured to support connection reestablishment.
-
Constructor Details
-
DCSScannerInfo
public DCSScannerInfo()
-
-
Method Details
-
getAuxiliaryScanners
-
getScannerID
public int getScannerID()Method to access the scannerID- Returns:
- Unique ID of the scanner
-
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
Method which returns the name of the scanner- Returns:
- Name of the scanner
-
getScannerModel
Method to access the model of the scanner- Returns:
- Model of the scanner
-
getScannerHWSerialNumber
Hardware serial number (Bluetooth Serial Number or HID serial number) of a particular scanner.- Returns:
- Hardware serial number of the scanner
-