USBDevice: deviceClass property
WebUSB API
WebUSB API
The deviceClass read-only property of the
USBDevice interface one of three properties that identify USB devices for
the purpose of loading a USB driver that will work with that device. The other two
properties are USBDevice.deviceSubclass and USBDevice.deviceProtocol.
Value
A number.