Class USBInterface
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
Experimental The
USBInterface interface of the
WebUSB API provides information about an interface provided by the USB device. An interface represents a feature of the device which implements a particular protocol and may contain endpoints for bidirectional communication.
[Value("USBInterface")]
public class USBInterface
- Inheritance
-
USBInterface
- Inherited Members
-
Constructors
USBInterface()
USBInterface(USBConfiguration, byte)
public USBInterface(USBConfiguration configuration, byte interfaceNumber)
Parameters
configuration USBConfiguration
interfaceNumber byte
Properties
Alternate
[Value("alternate")]
public USBAlternateInterface Alternate { get; }
Property Value
- USBAlternateInterface
Alternates
[Value("alternates")]
public USBAlternateInterface[] Alternates { get; }
Property Value
- USBAlternateInterface[]
Claimed
[Value("claimed")]
public bool Claimed { get; }
Property Value
- bool
InterfaceNumber
[Value("interfaceNumber")]
public byte InterfaceNumber { get; }
Property Value
- byte