GeezerVison is showing developer.mozilla.org — USBDevice - Web APIs | MDN
USBDevice
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
The USBDevice interface of the WebUSB API provides access to metadata about a paired USB device and methods for controlling it.
USBDevice.configuration Read only
-
A USBConfiguration object for the currently selected interface for a paired USB device.
USBDevice.configurations Read only
-
An Array of device-specific interfaces for controlling a paired USB device.
USBDevice.deviceClass Read only
-
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.
USBDevice.deviceProtocol Read only
-
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.deviceClass and USBDevice.deviceSubclass.
USBDevice.deviceSubclass Read only
-
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.deviceClass and USBDevice.deviceProtocol.
USBDevice.deviceVersionMajor Read only
-
The major version number of the device in a semantic versioning scheme.
USBDevice.deviceVersionMinor Read only
-
The minor version number of the device in a semantic versioning scheme.
USBDevice.deviceVersionSubminor Read only
-
The patch version number of the device in a semantic versioning scheme.
USBDevice.manufacturerName Read only
-
The name of the organization that manufactured the USB device.
USBDevice.opened Read only
-
Indicates whether a session has been started with a paired USB device.
USBDevice.productId Read only
-
The manufacturer-defined code that identifies a USB device.
USBDevice.productName Read only
-
The manufacturer-defined name that identifies a USB device.
USBDevice.serialNumber Read only
-
The manufacturer-defined serial number for the specific USB device.
USBDevice.usbVersionMajor Read only
-
One of three properties that declare the USB protocol version supported by the device. The other two properties are USBDevice.usbVersionMinor and USBDevice.usbVersionSubminor.
USBDevice.usbVersionMinor Read only
-
One of three properties that declare the USB protocol version supported by the device. The other two properties are USBDevice.usbVersionMajor and USBDevice.usbVersionSubminor.
USBDevice.usbVersionSubminor Read only
-
One of three properties that declare the USB protocol version supported by the device. The other two properties are USBDevice.usbVersionMajor and USBDevice.usbVersionMinor.
USBDevice.vendorId Read only
-
The official usb.org-assigned vendor ID.