Class USBAlternateInterface
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalUSBAlternateInterface interface of the WebUSB API provides information about a particular configuration of an interface provided by the USB device. An interface includes one or more alternate settings which can configure a set of endpoints based on the operating mode of the device.
[Value("USBAlternateInterface")]
public class USBAlternateInterface
- Inheritance
-
USBAlternateInterface
- Inherited Members
Remarks
Constructors
USBAlternateInterface()
public USBAlternateInterface()
USBAlternateInterface(USBInterface, byte)
public USBAlternateInterface(USBInterface deviceInterface, byte alternateSetting)
Parameters
deviceInterfaceUSBInterfacealternateSettingbyte
Properties
AlternateSetting
[Value("alternateSetting")]
public byte AlternateSetting { get; }
Property Value
Endpoints
[Value("endpoints")]
public USBEndpoint[] Endpoints { get; }
Property Value
InterfaceClass
[Value("interfaceClass")]
public byte InterfaceClass { get; }
Property Value
InterfaceName
[Value("interfaceName")]
public string? InterfaceName { get; }
Property Value
InterfaceProtocol
[Value("interfaceProtocol")]
public byte InterfaceProtocol { get; }
Property Value
InterfaceSubclass
[Value("interfaceSubclass")]
public byte InterfaceSubclass { get; }