public interface ConfigurationType
ConfigurationType
instances represent the type of various kinds of hardware
device configurations that might exist within the SDK.Modifier and Type | Interface and Description |
---|---|
static class |
ConfigurationType.DeviceFlavor |
static class |
ConfigurationType.DisplayNameFlavor |
Modifier and Type | Method and Description |
---|---|
ConfigurationType.DeviceFlavor |
getDeviceFlavor()
Returns the configuration type's most specific flavor.
|
java.lang.String |
getDisplayName(ConfigurationType.DisplayNameFlavor flavor)
Returns a user-understandable string form of this configuration type
|
java.lang.String |
getXmlTag()
Returns the XML element tag to be used when serializing configurations of this type
|
java.lang.String[] |
getXmlTagAliases()
Returns any additional XML tags that will resolve to this type
|
boolean |
isDeprecated()
Whether the type should be presented as deprecated in the user interface
|
boolean |
isDeviceFlavor(ConfigurationType.DeviceFlavor flavor)
Returns whether this configuration type is of the indicated flavor
|
DeviceManager.UsbDeviceType |
toUSBDeviceType()
If this configuration type has a corresponding USB device configuration type, returns same;
otherwise, returns
FTDI_USB_UNKNOWN_DEVICE . |
java.lang.String getDisplayName(ConfigurationType.DisplayNameFlavor flavor)
boolean isDeprecated()
java.lang.String getXmlTag()
java.lang.String[] getXmlTagAliases()
DeviceManager.UsbDeviceType toUSBDeviceType()
FTDI_USB_UNKNOWN_DEVICE
.boolean isDeviceFlavor(ConfigurationType.DeviceFlavor flavor)
ConfigurationType.DeviceFlavor getDeviceFlavor()