USBDevice Type
Constructors
| Constructor |
Description
|
Full Usage:
USBDevice(configurations, deviceClass, deviceId, deviceProtocol, deviceSubclass, deviceVersionMajor, deviceVersionMinor, deviceVersionSubminor, productId, usbVersionMajor, usbVersionMinor, usbVersionSubminor, vendorId, ?configuration, ?manufacturerName, ?productName, ?serialNumber)
Parameters:
obj[]
-
An array of USBConfiguration interfaces for controlling a paired USB device.
deviceClass : int
-
The device class for the communication interface supported by the device.
deviceId : string
-
Unique identifier for the device.
deviceProtocol : int
-
The device protocol for the communication interface supported by the device.
deviceSubclass : int
-
The device subclass for the communication interface supported by the device.
deviceVersionMajor : int
-
The major version number of the device as defined by the device manufacturer.
deviceVersionMinor : int
-
The minor version number of the device as defined by the device manufacturer.
deviceVersionSubminor : int
-
The subminor version number of the device as defined by the device manufacturer.
productId : int
-
The USB product ID.
usbVersionMajor : int
-
The USB protocol major version supported by the device.
usbVersionMinor : int
-
The USB protocol minor version supported by the device.
usbVersionSubminor : int
-
The USB protocol subminor version supported by the device.
vendorId : int
-
The USB vendor ID.
?configuration : Configuration
-
A USBConfiguration object containing information about the currently selected configuration of a USB device.
?manufacturerName : string
-
The manufacturer name of the device.
?productName : string
-
Name of the device.
?serialNumber : string
-
The USB device serial number.
Returns: USBDevice
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.configuration
|
A USBConfiguration object containing information about the currently selected configuration of a USB device. |
Full Usage:
this.configurations
|
An array of USBConfiguration interfaces for controlling a paired USB device. |
Full Usage:
this.deviceClass
|
The device class for the communication interface supported by the device. |
Full Usage:
this.deviceId
|
Unique identifier for the device. |
Full Usage:
this.deviceProtocol
|
The device protocol for the communication interface supported by the device. |
Full Usage:
this.deviceSubclass
|
The device subclass for the communication interface supported by the device. |
Full Usage:
this.deviceVersionMajor
|
The major version number of the device as defined by the device manufacturer. |
Full Usage:
this.deviceVersionMinor
|
The minor version number of the device as defined by the device manufacturer. |
Full Usage:
this.deviceVersionSubminor
|
The subminor version number of the device as defined by the device manufacturer. |
Full Usage:
this.manufacturerName
|
The manufacturer name of the device. |
Full Usage:
this.productId
|
The USB product ID. |
Full Usage:
this.productName
|
Name of the device. |
Full Usage:
this.serialNumber
|
The USB device serial number. |
Full Usage:
this.usbVersionMajor
|
The USB protocol major version supported by the device. |
Full Usage:
this.usbVersionMinor
|
The USB protocol minor version supported by the device. |
Full Usage:
this.usbVersionSubminor
|
The USB protocol subminor version supported by the device. |
Full Usage:
this.vendorId
|
The USB vendor ID. |
fable-electron-docs-api