public final class SimpleUsbInterfaceDescriptor extends SimpleUsbDescriptor implements javax.usb.UsbInterfaceDescriptor
| Constructor and Description |
|---|
SimpleUsbInterfaceDescriptor(byte bLength,
byte bDescriptorType,
byte bInterfaceNumber,
byte bAlternateSetting,
byte bNumEndpoints,
byte bInterfaceClass,
byte bInterfaceSubClass,
byte bInterfaceProtocol,
byte iInterface)
Constructor.
|
SimpleUsbInterfaceDescriptor(org.usb4java.InterfaceDescriptor descriptor)
Construct from a libusb4java interface descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
bAlternateSetting() |
byte |
bInterfaceClass() |
byte |
bInterfaceNumber() |
byte |
bInterfaceProtocol() |
byte |
bInterfaceSubClass() |
byte |
bNumEndpoints() |
boolean |
equals(Object obj) |
int |
hashCode() |
byte |
iInterface() |
String |
toString() |
bDescriptorType, bLengthpublic SimpleUsbInterfaceDescriptor(byte bLength,
byte bDescriptorType,
byte bInterfaceNumber,
byte bAlternateSetting,
byte bNumEndpoints,
byte bInterfaceClass,
byte bInterfaceSubClass,
byte bInterfaceProtocol,
byte iInterface)
bLength - The descriptor length.bDescriptorType - The descriptor type.bInterfaceNumber - The interface number.bAlternateSetting - The alternate setting number.bNumEndpoints - The number of endpoints.bInterfaceClass - The interface class.bInterfaceSubClass - The interface sub class.bInterfaceProtocol - The interface protocol.iInterface - The interface string descriptor index.public SimpleUsbInterfaceDescriptor(org.usb4java.InterfaceDescriptor descriptor)
descriptor - The descriptor from which to copy the data.public byte bInterfaceNumber()
bInterfaceNumber in interface javax.usb.UsbInterfaceDescriptorpublic byte bAlternateSetting()
bAlternateSetting in interface javax.usb.UsbInterfaceDescriptorpublic byte bNumEndpoints()
bNumEndpoints in interface javax.usb.UsbInterfaceDescriptorpublic byte bInterfaceClass()
bInterfaceClass in interface javax.usb.UsbInterfaceDescriptorpublic byte bInterfaceSubClass()
bInterfaceSubClass in interface javax.usb.UsbInterfaceDescriptorpublic byte bInterfaceProtocol()
bInterfaceProtocol in interface javax.usb.UsbInterfaceDescriptorpublic byte iInterface()
iInterface in interface javax.usb.UsbInterfaceDescriptorCopyright © 2011–2018 usb4java Team. All rights reserved.