Firefox Tomorrow

web api instance method

USBDevice: selectConfiguration() method

View on MDN ↗

Limited availabilitySecure contextAvailable in workers

The selectConfiguration() method of the USBDevice interface returns a Promise that resolves when the specified configuration is selected.

Syntax

selectConfiguration(configurationValue)

Parameters

  • configurationValue
    • : The number of a device-specific configuration.

Return value

A Promise.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.