UsbInterruptOutPipe
UsbInterruptOutPipe
UsbInterruptOutPipe
UsbInterruptOutPipe
Class
Definition
Represents the pipe that the underlying USB driver opens to communicate with a USB interrupt OUT endpoint of the device. The object provides access to an output stream to which the app can write data to send to the endpoint.
public : sealed class UsbInterruptOutPipe : IUsbInterruptOutPipepublic sealed class UsbInterruptOutPipe : IUsbInterruptOutPipePublic NotInheritable Class UsbInterruptOutPipe Implements IUsbInterruptOutPipe// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
EndpointDescriptor EndpointDescriptor EndpointDescriptor EndpointDescriptor
Gets the object that represents the endpoint descriptor associated with the USB interrupt OUT endpoint.
public : UsbInterruptOutEndpointDescriptor EndpointDescriptor { get; }public UsbInterruptOutEndpointDescriptor EndpointDescriptor { get; }Public ReadOnly Property EndpointDescriptor As UsbInterruptOutEndpointDescriptor// You can use this property in JavaScript.
- Value
- UsbInterruptOutEndpointDescriptor UsbInterruptOutEndpointDescriptor UsbInterruptOutEndpointDescriptor UsbInterruptOutEndpointDescriptor
A UsbInterruptOutEndpointDescriptor object that represents the endpoint descriptor associated with the USB interrupt OUT endpoint.
OutputStream OutputStream OutputStream OutputStream
Gets an output stream to which the app can write data to send to the endpoint.
public : IOutputStream OutputStream { get; }public IOutputStream OutputStream { get; }Public ReadOnly Property OutputStream As IOutputStream// You can use this property in JavaScript.
Output stream that contains data to write to the endpoint.
WriteOptions WriteOptions WriteOptions WriteOptions
Gets or sets configuration flags that controls the behavior of the pipe that writes data to a USB interrupt OUT endpoint.
public : UsbWriteOptions WriteOptions { get; set; }public UsbWriteOptions WriteOptions { get; set; }Public ReadWrite Property WriteOptions As UsbWriteOptions// You can use this property in JavaScript.
A UsbWriteOptions constant that indicates the pipe policy.
Methods
ClearStallAsync() ClearStallAsync() ClearStallAsync() ClearStallAsync()
Starts an asynchronous operation to clear a stall condition (endpoint halt) on the USB interrupt OUT endpoint that is associated with the pipe.
public : IAsyncAction ClearStallAsync()public IAsyncAction ClearStallAsync()Public Function ClearStallAsync() As IAsyncAction// You can use this method in JavaScript.
An IAsyncAction object that is used to control the asynchronous operation.