Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public final class UsbDevice
- Object
- 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()