public final class SimpleUsbConfigurationDescriptor extends SimpleUsbDescriptor implements javax.usb.UsbConfigurationDescriptor
| Constructor and Description |
|---|
SimpleUsbConfigurationDescriptor(byte bLength,
byte bDescriptorType,
short wTotalLength,
byte bNumInterfaces,
byte bConfigurationValue,
byte iConfiguration,
byte bmAttributes,
byte bMaxPower)
Constructor.
|
SimpleUsbConfigurationDescriptor(org.usb4java.ConfigDescriptor descriptor)
Construct from a libusb4java configuration descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
bConfigurationValue() |
byte |
bmAttributes() |
byte |
bMaxPower() |
byte |
bNumInterfaces() |
boolean |
equals(Object obj) |
int |
hashCode() |
byte |
iConfiguration() |
String |
toString() |
short |
wTotalLength() |
bDescriptorType, bLengthpublic SimpleUsbConfigurationDescriptor(byte bLength,
byte bDescriptorType,
short wTotalLength,
byte bNumInterfaces,
byte bConfigurationValue,
byte iConfiguration,
byte bmAttributes,
byte bMaxPower)
bLength - The descriptor length.bDescriptorType - The descriptor type.wTotalLength - The total length.bNumInterfaces - The number of interfaces.bConfigurationValue - The configuration value.iConfiguration - The configuration string descriptor index.bmAttributes - The attributes.bMaxPower - The maximum power.public SimpleUsbConfigurationDescriptor(org.usb4java.ConfigDescriptor descriptor)
descriptor - The descriptor from which to copy the data.public short wTotalLength()
wTotalLength in interface javax.usb.UsbConfigurationDescriptorpublic byte bNumInterfaces()
bNumInterfaces in interface javax.usb.UsbConfigurationDescriptorpublic byte bConfigurationValue()
bConfigurationValue in interface javax.usb.UsbConfigurationDescriptorpublic byte iConfiguration()
iConfiguration in interface javax.usb.UsbConfigurationDescriptorpublic byte bmAttributes()
bmAttributes in interface javax.usb.UsbConfigurationDescriptorpublic byte bMaxPower()
bMaxPower in interface javax.usb.UsbConfigurationDescriptorCopyright © 2011–2018 usb4java Team. All rights reserved.