public class UsbConfiguration extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsInterface(int iface)
Gets whether configuration contains an interface.
|
UsbConfigurationDescriptor |
getDescriptor()
Gets the configuration descriptor.
|
UsbDevice |
getDevice()
Gets the parent device.
|
UsbInterface |
getInterface(int iface)
Gets the specified interface.
|
List<UsbInterface> |
getInterfaces()
Gets the list of available interfaces.
|
String |
getString()
Gets the configuration string.
|
boolean |
isActive()
Gets whether configuration is active.
|
public UsbConfigurationDescriptor getDescriptor()
public String getString()
public boolean containsInterface(int iface)
iface - The interface numberpublic UsbDevice getDevice()
public UsbInterface getInterface(int iface)
iface - The interface numberpublic List<UsbInterface> getInterfaces()
public boolean isActive()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2023 LSST. All rights reserved.