mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
!13205 【修复】完善USB服务API接口错误码返回
Merge pull request !13205 from 廖平/DTS-14400003
This commit is contained in:
commit
33be2dbb66
1
api/@ohos.usbManager.d.ts
vendored
1
api/@ohos.usbManager.d.ts
vendored
@ -335,6 +335,7 @@ declare namespace usbManager {
|
||||
* <br>1.Mandatory parameters are left unspecified.
|
||||
* <br>2.Incorrect parameter types.
|
||||
* @throws { BusinessError } 202 - Permission denied. Normal application do not have permission to use system api.
|
||||
* @throws { BusinessError } 14400003 - Unsupported operation. The current device does not support port role switching.
|
||||
* @syscap SystemCapability.USB.USBManager
|
||||
* @systemapi
|
||||
* @since 12
|
||||
|
Loading…
Reference in New Issue
Block a user