WebUSB API
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 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
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
