Header menu logo fable-electron-docs-api

Alternate Type

Constructors

Constructor Description

Alternate(alternateSetting, interfaceClass, interfaceSubclass, interfaceProtocol, endpoints, ?interfaceName)

Full Usage: Alternate(alternateSetting, interfaceClass, interfaceSubclass, interfaceProtocol, endpoints, ?interfaceName)

Parameters:
    alternateSetting : int - the alternate setting number of this interface.
    interfaceClass : int - the class of this interface. See USB.org for class code descriptions.
    interfaceSubclass : int - the subclass of this interface.
    interfaceProtocol : int - the protocol supported by this interface.
    endpoints : Endpoints[] - an array containing instances of the USBEndpoint interface describing each of the endpoints that are part of this interface.
    ?interfaceName : string - the name of the interface, if one is provided by the device.

Returns: Alternate
alternateSetting : int

the alternate setting number of this interface.

interfaceClass : int

the class of this interface. See USB.org for class code descriptions.

interfaceSubclass : int

the subclass of this interface.

interfaceProtocol : int

the protocol supported by this interface.

endpoints : Endpoints[]

an array containing instances of the USBEndpoint interface describing each of the endpoints that are part of this interface.

?interfaceName : string

the name of the interface, if one is provided by the device.

Returns: Alternate

Instance members

Instance member Description

this.alternateSetting

Full Usage: this.alternateSetting

the alternate setting number of this interface.

this.endpoints

Full Usage: this.endpoints

an array containing instances of the USBEndpoint interface describing each of the endpoints that are part of this interface.

this.interfaceClass

Full Usage: this.interfaceClass

the class of this interface. See USB.org for class code descriptions.

this.interfaceName

Full Usage: this.interfaceName

the name of the interface, if one is provided by the device.

this.interfaceProtocol

Full Usage: this.interfaceProtocol

the protocol supported by this interface.

this.interfaceSubclass

Full Usage: this.interfaceSubclass

the subclass of this interface.

Type something to start searching.