Class ScannerInfo

java.lang.Object
com.zebra.barcode.sdk.ScannerInfo
All Implemented Interfaces:
BarcodeScannerInfo

public final class ScannerInfo extends Object implements BarcodeScannerInfo
Responsible for the definitions of barcode scanner's information which includes name, hardware and Status.
  • Constructor Details

    • ScannerInfo

      public ScannerInfo()
  • Method Details

    • getId

      public int getId()
      Get Id of the barcode scanner info
      Returns:
      Scanner id
    • getHardwareId

      public String getHardwareId()
      Get hardware Id of the barcode scanner information
      Specified by:
      getHardwareId in interface BarcodeScannerInfo
      Returns:
      Scanner hardware id
    • getName

      public String getName()
      Get name of the barcode scanner information
      Specified by:
      getName in interface BarcodeScannerInfo
      Returns:
      Scanner name
    • getBarcodeScannerType

      public BarcodeScannerType getBarcodeScannerType()
      Get the Barcode scanner information type
      Specified by:
      getBarcodeScannerType in interface BarcodeScannerInfo
      Returns:
      Scanner type
    • equalsObject

      public boolean equalsObject(Object deviceInfo)
      Compare two Scanner information objects
      Parameters:
      deviceInfo - object
      Returns:
      True if they are equal. False otherwise.