Firefox Tomorrow

web api instance method

USBDevice: releaseInterface() method

View on MDN ↗

Limited availabilitySecure contextAvailable in workers

The releaseInterface() method of the USBDevice interface returns a Promise that resolves when a claimed interface is released from exclusive access.

Syntax

releaseInterface(interfaceNumber)

Parameters

  • interfaceNumber
    • : The device-specific index of the currently-claimed interface.

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.