|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.openni.DeviceInfo
public class DeviceInfo
The DeviceInfo class encapsulates info related to a specific device.
Applications will generally obtain objects of this type via calls to
OpenNI.enumerateDevices() or Device.getDeviceInfo(), and
then use the various accessor functions to obtain specific information on that device.
There should be no reason for application code to instantiate this object directly.
| Constructor Summary | |
|---|---|
DeviceInfo(java.lang.String uri,
java.lang.String vendor,
java.lang.String name,
int usbVendorId,
int usbProductId)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Getter function for the device name. |
java.lang.String |
getUri()
Getter function for the device URI. |
int |
getUsbProductId()
Getter function for the USB PID device code. |
int |
getUsbVendorId()
Getter function for the USB VID device code. |
java.lang.String |
getVendor()
Getter function for the device vendor name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeviceInfo(java.lang.String uri,
java.lang.String vendor,
java.lang.String name,
int usbVendorId,
int usbProductId)
| Method Detail |
|---|
public final java.lang.String getUri()
Device.open(String)
to open a specific device.
public final java.lang.String getVendor()
public final java.lang.String getName()
public int getUsbVendorId()
public int getUsbProductId()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||