Package com.zebra.barcode.sdk
Class UsbScannerInfo
java.lang.Object
com.zebra.barcode.sdk.UsbScannerInfo
- All Implemented Interfaces:
BarcodeScannerInfo
Responsible for the definitions of Snapi barcode scanner's information which includes name, hardware and Status.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequalsObject(Object deviceInfo) Compare two USB objectsGet the Barcode scanner information typeGet hardware Id of the USB barcode scanner informationintgetId()Get Id of the USB barcode scanner informationgetName()Get name of the USB barcode scanner info
-
Constructor Details
-
UsbScannerInfo
public UsbScannerInfo()
-
-
Method Details
-
getId
public int getId()Get Id of the USB barcode scanner information- Returns:
- scanner id
-
getHardwareId
Get hardware Id of the USB barcode scanner information- Specified by:
getHardwareIdin interfaceBarcodeScannerInfo- Returns:
- scanner hardware id
-
getName
Get name of the USB barcode scanner info- Specified by:
getNamein interfaceBarcodeScannerInfo- Returns:
- get scanner name
-
getBarcodeScannerType
Get the Barcode scanner information type- Specified by:
getBarcodeScannerTypein interfaceBarcodeScannerInfo- Returns:
- Barcode scanner type
-
equalsObject
Compare two USB objects- Parameters:
deviceInfo- Device Information- Returns:
- True if they are equal. False otherwise.
-