未验证 提交 70112332 编写于 作者: 葛亚芳 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-usb.md.

Signed-off-by: N@ge-yafang <geyafang@huawei.com>
上级 0e3853cf
...@@ -243,7 +243,7 @@ usb.setInterface(pipe: USBDevicePipe, iface: USBInterface): number ...@@ -243,7 +243,7 @@ usb.setInterface(pipe: USBDevicePipe, iface: USBInterface): number
设置设备接口。 设置设备接口。
需要调用[usb.getDevices](#usb-getdevices)获取设备列表以及interfaces;调用[usb.requestRight](#usbrequestright)获取设备请求权限;调用[usb.connectDevice](#usbconnectdevice)得到devicepipe作为参数。 需要调用[usb.getDevices](#usbgetdevices)获取设备列表以及interfaces;调用[usb.requestRight](#usbrequestright)获取设备请求权限;调用[usb.connectDevice](#usbconnectdevice)得到devicepipe作为参数。
- 参数: - 参数:
| 参数名 | 类型 | 必填 | 说明 | | 参数名 | 类型 | 必填 | 说明 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册