OpenNI2 SDK  v2.3.0.81
Public 成员函数 | 所有成员列表
org.openni.DeviceInfo类 参考

Public 成员函数

 DeviceInfo (String uri, String vendor, String name, int usbVendorId, int usbProductId)
 
final String getUri ()
 
final String getVendor ()
 
final String getName ()
 
int getUsbVendorId ()
 
int getUsbProductId ()
 

详细描述

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.

成员函数说明

◆ getName()

final String org.openni.DeviceInfo.getName ( )
inline

Getter function for the device name.

返回
The device name for this device.

◆ getUri()

final String org.openni.DeviceInfo.getUri ( )
inline

Getter function for the device URI. URI can be used by Device#open(String) to open a specific device.

返回
The URI string format is determined by the driver.

◆ getUsbProductId()

int org.openni.DeviceInfo.getUsbProductId ( )
inline

Getter function for the USB PID device code.

返回
The USB PID code for this device.

◆ getUsbVendorId()

int org.openni.DeviceInfo.getUsbVendorId ( )
inline

Getter function for the USB VID device code.

返回
The USB VID code for this device.

◆ getVendor()

final String org.openni.DeviceInfo.getVendor ( )
inline

Getter function for the device vendor name.

返回
A the vendor name for this device.

该类的文档由以下文件生成: