Class UsbScannerInfo

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

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

    • UsbScannerInfo

      public UsbScannerInfo()
  • Method Details

    • getId

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

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

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

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

      public boolean equalsObject(Object deviceInfo)
      Compare two USB objects
      Parameters:
      deviceInfo - Device Information
      Returns:
      True if they are equal. False otherwise.