!12605 【修复】401错误码整改

Merge pull request !12605 from 廖平/401
This commit is contained in:
openharmony_ci 2024-08-02 07:24:46 +00:00 committed by Gitee
commit b24db47b10
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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
*/