629c54ba36
* feat: add support for WebUSB * fixup for gn check * fixup gn check on Windows * Apply review feedback Co-authored-by: Charles Kerr <charles@charleskerr.com> * chore: address review feedback * chore: removed unneeded code * Migrate non-default ScopedObservation<> instantiations to ScopedObservationTraits<> in chrome/browser/ https://chromium-review.googlesource.com/c/chromium/src/+/4016595 Co-authored-by: Charles Kerr <charles@charleskerr.com>
17 lines
1.2 KiB
Markdown
17 lines
1.2 KiB
Markdown
# 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 device
|
|
* `usbVersionMinor` Integer - The USB protocol minor version supported by the device
|
|
* `usbVersionSubminor` Integer - The USB protocol subminor version supported by the device
|
|
* `deviceClass` Integer - The device class for the communication interface supported by the device
|
|
* `deviceSubclass` Integer - The device subclass for the communication interface supported by the device
|
|
* `deviceProtocol` Integer - The device protocol for the communication interface supported by the device
|
|
* `deviceVersionMajor` 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.
|