Package com.zebra.barcode.sdk
Class ScannerInfo
java.lang.Object
com.zebra.barcode.sdk.ScannerInfo
- All Implemented Interfaces:
BarcodeScannerInfo
Responsible for the definitions of barcode scanner's information which includes name, hardware and Status.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
equalsObject
(Object deviceInfo) Compare two Scanner information objectsGet the Barcode scanner information typeGet hardware Id of the barcode scanner informationint
getId()
Get Id of the barcode scanner infogetName()
Get name of the barcode scanner information
-
Constructor Details
-
ScannerInfo
public ScannerInfo()
-
-
Method Details
-
getId
public int getId()Get Id of the barcode scanner info- Returns:
- Scanner id
-
getHardwareId
Get hardware Id of the barcode scanner information- Specified by:
getHardwareId
in interfaceBarcodeScannerInfo
- Returns:
- Scanner hardware id
-
getName
Get name of the barcode scanner information- Specified by:
getName
in interfaceBarcodeScannerInfo
- Returns:
- Scanner name
-
getBarcodeScannerType
Get the Barcode scanner information type- Specified by:
getBarcodeScannerType
in interfaceBarcodeScannerInfo
- Returns:
- Scanner type
-
equalsObject
Compare two Scanner information objects- Parameters:
deviceInfo
- object- Returns:
- True if they are equal. False otherwise.
-