Table of Contents

Class USBAlternateInterface

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The USBAlternateInterface 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

deviceInterface USBInterface
alternateSetting byte

Properties

AlternateSetting

[Value("alternateSetting")]
public byte AlternateSetting { get; }

Property Value

byte

Endpoints

[Value("endpoints")]
public USBEndpoint[] Endpoints { get; }

Property Value

USBEndpoint[]

InterfaceClass

[Value("interfaceClass")]
public byte InterfaceClass { get; }

Property Value

byte

InterfaceName

[Value("interfaceName")]
public string? InterfaceName { get; }

Property Value

string

InterfaceProtocol

[Value("interfaceProtocol")]
public byte InterfaceProtocol { get; }

Property Value

byte

InterfaceSubclass

[Value("interfaceSubclass")]
public byte InterfaceSubclass { get; }

Property Value

byte