libusb_interface_descriptor class
\ingroup libusb_desc A structure representing the standard USB interface descriptor. This descriptor is documented in section 9.6.5 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
- bAlternateSetting ↔ int
-
Value used to select this alternate setting for this interface
getter/setter pair
- bDescriptorType ↔ int
-
Descriptor type. Will have value
\ref libusb_descriptor_type::LIBUSB_DT_INTERFACE LIBUSB_DT_INTERFACE
in this context.
getter/setter pair
- bInterfaceClass ↔ int
-
USB-IF class code for this interface. See \ref libusb_class_code.
getter/setter pair
- bInterfaceNumber ↔ int
-
Number of this interface
getter/setter pair
- bInterfaceProtocol ↔ int
-
USB-IF protocol code for this interface, qualified by the
bInterfaceClass and bInterfaceSubClass values
getter/setter pair
- bInterfaceSubClass ↔ int
-
USB-IF subclass code for this interface, qualified by the
bInterfaceClass value
getter/setter pair
- bLength ↔ int
-
Size of this descriptor (in bytes)
getter/setter pair
- bNumEndpoints ↔ int
-
Number of endpoints used by this interface (excluding the control
endpoint).
getter/setter pair
-
endpoint
↔ Pointer<
libusb_endpoint_descriptor> -
Array of endpoint descriptors. This length of this array is determined
by the bNumEndpoints field.
getter/setter pair
-
extra
↔ Pointer<
Uint8> -
Extra descriptors. If libusb encounters unknown interface descriptors,
it will store them here, should you wish to parse them.
getter/setter pair
- extra_length ↔ int
-
Length of the extra descriptors, in bytes. Must be non-negative.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- iInterface ↔ int
-
Index of string descriptor describing this interface
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited