public class InterfaceDescriptor extends Interface
| Modifier and Type | Method and Description |
|---|---|
int |
getAlternateSetting()
get alternate setting of this interface
|
EndpointDescriptor |
getEndpointDescriptor(int endpointAddress)
get endpoint descriptor with specified endpoint address
|
java.util.List<EndpointDescriptor> |
getEndpointDescriptors()
get all endpoint descriptors of this interface
|
int |
getInterfaceNumber()
get interface number of this interface
|
int |
getNumberOfEndpoints()
get number of endpoints this interface has
|
attachKernelDriver, detachKernelDriver, getAlternateSetting, getAlternateSettings, getNumberOfAlternateSettings, kernelDriverActive, setAltSetting, setAutoDetachKernelDrivergetAllInterfaces, getConfigValue, getInterface, getNofInterfacesgetActiveConfigDescriptor, getConfigDescriptor, getConfigDescriptors, getManufacturerDescIndex, getNofConfigurations, getProductDescIndex, getProductId, getSerialNumberIndex, getVendorId, setActiveConfigDescriptorgetLength, getTypepublic java.util.List<EndpointDescriptor> getEndpointDescriptors() throws ch.ntb.inf.libusb.exceptions.LibusbException
ch.ntb.inf.libusb.exceptions.LibusbExceptionpublic EndpointDescriptor getEndpointDescriptor(int endpointAddress) throws ch.ntb.inf.libusb.exceptions.LibusbException
endpointAddress - ch.ntb.inf.libusb.exceptions.LibusbExceptionpublic int getNumberOfEndpoints()
throws ch.ntb.inf.libusb.exceptions.LibusbException
ch.ntb.inf.libusb.exceptions.LibusbExceptionpublic int getInterfaceNumber()
throws ch.ntb.inf.libusb.exceptions.LibusbException
ch.ntb.inf.libusb.exceptions.LibusbExceptionpublic int getAlternateSetting()
throws ch.ntb.inf.libusb.exceptions.LibusbException
ch.ntb.inf.libusb.exceptions.LibusbException