javax.usb
Interface UsbInterfaceDescriptor

All Superinterfaces:
UsbDescriptor

public interface UsbInterfaceDescriptor
extends UsbDescriptor

Interface for a USB interface descriptor.

See the USB 1.1 specification section 9.6.3.

Author:
Dan Streetman

Method Summary
 byte bAlternateSetting()
          Get this descriptor's bAlternateSetting.
 byte bInterfaceClass()
          Get this descriptor's bInterfaceClass.
 byte bInterfaceNumber()
          Get this descriptor's bInterfaceNumber.
 byte bInterfaceProtocol()
          Get this descriptor's bInterfaceProtocol.
 byte bInterfaceSubClass()
          Get this descriptor's bInterfaceSubClass.
 byte bNumEndpoints()
          Get this descriptor's bNumEndpoints.
 byte iInterface()
          Get this descriptor's iInterface.
 
Methods inherited from interface javax.usb.UsbDescriptor
bDescriptorType, bLength
 

Method Detail

bInterfaceNumber

public byte bInterfaceNumber()
Get this descriptor's bInterfaceNumber.

Returns:
This descriptor's bInterfaceNumber.
See Also:
This is unsigned.

bAlternateSetting

public byte bAlternateSetting()
Get this descriptor's bAlternateSetting.

Returns:
This descriptor's bAlternateSetting.
See Also:
This is unsigned.

bNumEndpoints

public byte bNumEndpoints()
Get this descriptor's bNumEndpoints.

Returns:
This descriptor's bNumEndpoints.
See Also:
This is unsigned.

bInterfaceClass

public byte bInterfaceClass()
Get this descriptor's bInterfaceClass.

Returns:
This descriptor's bInterfaceClass.
See Also:
This is unsigned.

bInterfaceSubClass

public byte bInterfaceSubClass()
Get this descriptor's bInterfaceSubClass.

Returns:
This descriptor's bInterfaceSubClass.
See Also:
This is unsigned.

bInterfaceProtocol

public byte bInterfaceProtocol()
Get this descriptor's bInterfaceProtocol.

Returns:
This descriptor's bInterfaceProtocol.
See Also:
This is unsigned.

iInterface

public byte iInterface()
Get this descriptor's iInterface.

Returns:
This descriptor's iInterface.
See Also:
This is unsigned.


Copyright © 2009 Eurotech Inc. All rights reserved.