public final class BosDescriptor extends Object
Constructor and Description |
---|
BosDescriptor()
Constructs a new BOS descriptor which can be passed to the
LibUsb.getBosDescriptor(DeviceHandle, BosDescriptor) method. |
Modifier and Type | Method and Description |
---|---|
byte |
bDescriptorType()
Returns the descriptor type.
|
byte |
bLength()
Returns the size of this descriptor (in bytes).
|
byte |
bNumDeviceCaps()
Returns the number of separate device capability descriptors in the BOS.
|
BosDevCapabilityDescriptor[] |
devCapability()
Returns the array with the device capability descriptors.
|
String |
dump()
Returns a dump of this descriptor.
|
boolean |
equals(Object obj) |
long |
getPointer()
Returns the native pointer.
|
int |
hashCode() |
String |
toString() |
short |
wTotalLength()
Returns the length of this descriptor and all of its sub descriptors.
|
public BosDescriptor()
LibUsb.getBosDescriptor(DeviceHandle, BosDescriptor)
method.public long getPointer()
public byte bLength()
public byte bDescriptorType()
public short wTotalLength()
public byte bNumDeviceCaps()
public BosDevCapabilityDescriptor[] devCapability()
public String dump()
Copyright © 2011–2018 usb4java Team. All rights reserved.