Firefox Tomorrow

web api constructor

USBConfiguration: USBConfiguration() constructor

View on MDN ↗

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 USBDevice you want to configure.
  • configurationValue

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.