P - the device type the descriptor is defined for.public interface DeviceDescriptor<P extends Device<? super P>>
DeviceDescriptor interface encapsulates the identifying and descriptive
 information of a device as well as its registered configuration (hardware addressing
 parameters, and static and dynamic configuration parameters).| Modifier and Type | Field and Description | 
|---|---|
| static int | UNDEFINED_IDUndefined device numeric ID. | 
| Modifier and Type | Method and Description | 
|---|---|
| <C extends DeviceConfig<? super P>>  | getConfiguration()Returns the actual configuration of the device. | 
| int | getID()Returns the numeric ID of the device. | 
| java.lang.Class<P> | getInterface()Returns the interface (sub-interface of  Device) of the device. | 
| java.lang.String | getName()Returns the name of the device. | 
| java.lang.String[] | getProperties()Returns the properties of the device. | 
static final int UNDEFINED_ID
int getID()
DeviceManager.open(java.lang.Class, jdk.dio.DeviceConfig)
 this device's numeric ID is undefined.0)
         or UNDEFINED_ID if none is defined.java.lang.String getName()
null if none is defined.java.lang.String[] getProperties()
String array (a defensive copy) of the device properties or an
         empty String array if none are defined.java.lang.Class<P> getInterface()
Device) of the device.Device) of the device.<C extends DeviceConfig<? super P>> C getConfiguration()
DeviceConfig.UNASSIGNED (or null) may still be returned for a
 hardware addressing, static or dynamic configuration parameter
 to indicate that it is unassigned (such as when it is not supported).C - the device configuration type.DeviceConfig which encapsulates the hardware addressing
         information, and static and dynamic configuration parameters of this device
         device; or null if none is defined.Copyright © 2012, 2015, Oracle and/or its affiliates. All rights reserved.
Legal Notices