Class UsbDevice

java.lang.Object
com.codename1.io.usb.UsbDevice

public final class UsbDevice extends Object
One attached USB device. Immutable. The Object returned by getNativeDevice() is the platform device handle and may be cast in native interface code (UsbDevice on Android).
  • Constructor Details

    • UsbDevice

      public UsbDevice(String deviceName, int vendorId, int productId, String productName, String manufacturerName, Object nativeDevice)
  • Method Details

    • getDeviceName

      public String getDeviceName()
    • getVendorId

      public int getVendorId()
    • getProductId

      public int getProductId()
    • getProductName

      public String getProductName()
    • getManufacturerName

      public String getManufacturerName()
    • getNativeDevice

      public Object getNativeDevice()