Alternate Type
Constructors
| Constructor |
Description
|
Full Usage:
Alternate(alternateSetting, interfaceClass, interfaceSubclass, interfaceProtocol, endpoints, ?interfaceName)
Parameters:
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
|
Full Usage:
this.alternateSetting
|
the alternate setting number of this interface. |
Full Usage:
this.endpoints
|
an array containing instances of the USBEndpoint interface describing each of the endpoints that are part of this interface. |
Full Usage:
this.interfaceClass
|
the class of this interface. See USB.org for class code descriptions. |
Full Usage:
this.interfaceName
|
the name of the interface, if one is provided by the device. |
Full Usage:
this.interfaceProtocol
|
the protocol supported by this interface. |
Full Usage:
this.interfaceSubclass
|
the subclass of this interface. |
fable-electron-docs-api