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 TypeMethodDescriptionboolean
equalsObject
(Object deviceInfo) Compare two USB objectsGet the Barcode scanner information typeGet hardware Id of the USB barcode scanner informationint
getId()
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:
getHardwareId
in interfaceBarcodeScannerInfo
- Returns:
- scanner hardware id
-
getName
Get name of the USB barcode scanner info- Specified by:
getName
in interfaceBarcodeScannerInfo
- Returns:
- get scanner name
-
getBarcodeScannerType
Get the Barcode scanner information type- Specified by:
getBarcodeScannerType
in interfaceBarcodeScannerInfo
- Returns:
- Barcode scanner type
-
equalsObject
Compare two USB objects- Parameters:
deviceInfo
- Device Information- Returns:
- True if they are equal. False otherwise.
-