public final class UsbDevice

  1. Object
  2. UsbDevice
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).

Constructors

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

Methods

public String getDeviceName()
public int getVendorId()
public int getProductId()
public String getProductName()
public String getManufacturerName()
public Object getNativeDevice()

Inherited methods

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()