mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-03-04 23:37:33 +00:00
commit
b24db47b10
3
api/@ohos.usbManager.d.ts
vendored
3
api/@ohos.usbManager.d.ts
vendored
@ -363,6 +363,9 @@ declare namespace usbManager {
|
||||
* @param { USBDevicePipe } pipe - device pipe, which is used to determine the bus number and device address. It cannot be empty.
|
||||
* @param { USBInterface } iface - USB interface, which is used to determine the interface to release. It cannot be empty.
|
||||
* @returns { number } returns **0** if the USB interface is successfully released; returns an error code otherwise.
|
||||
* @throws { BusinessError } 401 - Parameter error. Possible causes:
|
||||
* <br>1.Mandatory parameters are left unspecified.
|
||||
* <br>2.Incorrect parameter types.
|
||||
* @syscap SystemCapability.USB.USBManager
|
||||
* @since 9
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user