web api constructor
USBConfiguration: USBConfiguration() constructor
Limited availabilitySecure contextAvailable in workers
The USBConfiguration() constructor
creates a new USBConfiguration object which contains information about
the configuration on the provided USBDevice with the given configuration value.
Syntax
new USBConfiguration(device, configurationValue)
Parameters
device- : Specifies the
USBDeviceyou want to configure.
- : Specifies the
configurationValue- : Specifies the configuration descriptor you want to read. This is an unsigned integer in the range 0 to 255.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.