harmony 鸿蒙USB Subsystem API Changelog
USB Subsystem API Changelog
cl.usb_manager.1 SDK API Deletion
For applications developed based on earlier versions, you need to change the name of the imported bundle. Otherwise, the original service logic will be affected.
Key API/Component Changes
The @ohos.usbV9.d.ts file is replaced by the @ohos.usbManager.d.ts file.
New Bundle | Original Bundle | Deleted Bundle |
---|---|---|
ohos.usbManager.d.ts | ohos.usb.d.ts | ohos.usbV9.d.ts |
You need to import @ohos.usbManager to use USB service APIs.
import usbManager from '@ohos.usbManager';
Adaptation Guide
For details about usage of each API, see the API Reference.
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦