Draft
This page is not complete.
Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The USBConfiguration()
constructor
creates a new USBConfiguration
object which contains information about
the configuration on the provided USBDevice with the given configuration value.
Syntax
var USBConfiguration = new USBConfiguration(device, configurationValue)
Parameters
- device
- Specifies the
USBDevice
you want to configure. - configurationValue
- Specifies the configuration descriptor you want to read. This is an unsigned integer in the range 0 to 255.
Specifications
Specification | Status | Comment |
---|---|---|
Unknown The definition of 'USBConfiguration' in that specification. |
Unknown | Initial definition. |
Browser compatibility
BCD tables only load in the browser