Open Collective
来源:Electron
浏览 175
扫码
分享
2023-02-14 22:06:48
USBDevice Object
deviceId
string - Unique identifier for the device.vendorId
Integer - The USB vendor ID.productId
Integer - The USB product ID.productName
string (optional) - Name of the device.serialNumber
string (optional) - The USB device serial number.manufacturerName
string (optional) - The manufacturer name of the device.usbVersionMajor
Integer - The USB protocol major version supported by the deviceusbVersionMinor
Integer - The USB protocol minor version supported by the deviceusbVersionSubminor
Integer - The USB protocol subminor version supported by the devicedeviceClass
Integer - The device class for the communication interface supported by the devicedeviceSubclass
Integer - The device subclass for the communication interface supported by the devicedeviceProtocol
Integer - The device protocol for the communication interface supported by the devicedeviceVersionMajor
Integer - The major version number of the device as defined by the device manufacturer.deviceVersionMinor
Integer - The minor version number of the device as defined by the device manufacturer.deviceVersionSubminor
Integer - The subminor version number of the device as defined by the device manufacturer.