USBDevice: releaseInterface() method
WebUSB API
WebUSB API
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.