|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.codeminders.hidapi.HIDDeviceInfo
public class HIDDeviceInfo
Container class which contains HID device properties.
| Method Summary | |
|---|---|
int |
getInterface_number()
Get the USB interface which this logical device represents. |
java.lang.String |
getManufacturer_string()
Get the device manufacturer string. |
java.lang.String |
getPath()
Get the platform-specific device path. |
int |
getProduct_id()
Get the device USB product ID. |
java.lang.String |
getProduct_string()
Get the device product string |
int |
getRelease_number()
Get the device release number in binary-coded decimal, also known as device version number. |
java.lang.String |
getSerial_number()
Get the device serial number. |
int |
getUsage_page()
Get the device usage page (Windows/Mac only). |
int |
getUsage()
Get the device usage (Windows/Mac only). |
int |
getVendor_id()
Get the device USB vendor ID. |
HIDDevice |
open()
Open a HID device using a path name from this class. |
java.lang.String |
toString()
Override method for conversion this object to String |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getPath()
public int getVendor_id()
public int getProduct_id()
public java.lang.String getSerial_number()
public int getRelease_number()
public java.lang.String getManufacturer_string()
public java.lang.String getProduct_string()
public int getUsage_page()
public int getUsage()
public int getInterface_number()
public HIDDevice open()
throws java.io.IOException
HIDDevice object
- Throws:
java.io.IOExceptionpublic java.lang.String toString()
String object.
- Overrides:
toString in class java.lang.Object
- Returns:
- return a reference to the
String object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||