Class USBEndpoint
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
Experimental The
USBEndpoint interface of the
WebUSB API provides information about an endpoint provided by the USB device. An endpoint represents a unidirectional data stream into or out of a device.
[Value("USBEndpoint")]
public class USBEndpoint
- Inheritance
-
USBEndpoint
- Inherited Members
-
Constructors
USBEndpoint()
USBEndpoint(USBAlternateInterface, byte, USBDirection)
public USBEndpoint(USBAlternateInterface alternate, byte endpointNumber, USBDirection direction)
Parameters
alternate USBAlternateInterface
endpointNumber byte
direction USBDirection
Properties
Direction
[Value("direction")]
public USBDirection Direction { get; }
Property Value
- USBDirection
EndpointNumber
[Value("endpointNumber")]
public byte EndpointNumber { get; }
Property Value
- byte
PacketSize
[Value("packetSize")]
public ulong PacketSize { get; }
Property Value
- ulong
Type
[Value("type")]
public USBEndpointType Type { get; }
Property Value
- USBEndpointType