public final class FTOpenedDeviceInfo extends Object
Represents an opened FT device with information about it.
| Constructor and Description |
|---|
FTOpenedDeviceInfo(String type,
String id,
String serialNumber,
String description)
Construct and allocates a new FTOpenedDeviceInfo object with given details.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dumpDeviceInfo()
Prints information about this opened FT device on console.
|
String |
getDescription()
Retrieves the description for this opened FT device.
|
long |
getId()
Retrieves the id for this opened FT device.
|
String |
getSerialNumber()
Retrieves the serial number string for this opened FT device.
|
long |
getType()
Retrieves the type for this opened FT device.
|
public FTOpenedDeviceInfo(String type, String id, String serialNumber, String description)
Construct and allocates a new FTOpenedDeviceInfo object with given details.
type - device type.id - device ID.serialNumber - serial number of this device.description - description of this device.public long getType()
Retrieves the type for this opened FT device.
NumberFormatException - if the type hex string can not be converted into numerical representation.public long getId()
Retrieves the id for this opened FT device.
NumberFormatException - if the id hex string can not be converted into numerical representation.public String getSerialNumber()
Retrieves the serial number string for this opened FT device.
public String getDescription()
Retrieves the description for this opened FT device.
public void dumpDeviceInfo()
Prints information about this opened FT device on console.
Copyright © 2016. All rights reserved.