UsbBulkInEndpointDescriptor UsbBulkInEndpointDescriptor UsbBulkInEndpointDescriptor UsbBulkInEndpointDescriptor UsbBulkInEndpointDescriptor Class

Definition

The endpoint descriptor for a USB bulk IN endpoint. The descriptor specifies the endpoint type, direction, number and also the maximum number of bytes that can be read from the endpoint, in a single transfer.

public : sealed class UsbBulkInEndpointDescriptor : IUsbBulkInEndpointDescriptor
struct winrt::Windows::Devices::Usb::UsbBulkInEndpointDescriptor : IUsbBulkInEndpointDescriptor
public sealed class UsbBulkInEndpointDescriptor : IUsbBulkInEndpointDescriptor
Public NotInheritable Class UsbBulkInEndpointDescriptor Implements IUsbBulkInEndpointDescriptor
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

JavaScript (Usage)

var descriptorBulkInEp = device.defaultInterface.descriptors.getAt(1);
var usbEndpointDescriptor = Windows.Devices.Usb.UsbEndpointDescriptor.parse(descriptorBulkInEp);
var usbBulkInEndpointDescriptor = usbEndpointDescriptor.asBulkInEndpointDescriptor();

Properties

EndpointNumber EndpointNumber EndpointNumber EndpointNumber EndpointNumber

Gets the USB endpoint number of the bulk IN endpoint.

MaxPacketSize MaxPacketSize MaxPacketSize MaxPacketSize MaxPacketSize

Gets the maximum number of bytes that can be sent to or received from this endpoint, in a single packet.

Pipe Pipe Pipe Pipe Pipe

Gets the object that represents the pipe that the host opens to communicate with the bulk IN endpoint.