harmony 鸿蒙USB Subsystem Changelog
USB Subsystem Changelog
cl.usbManager.1 @ohos.usbManager controlTransfer Deprecated
Access Level
Public API
Reason for Change
The original API ControlTransfer is deprecated to comply with the USB standard protocol.
Change Impact
This change is a non-compatible change. When the controlTransfer API is used, a message is displayed, indicating that the API has been deprecated. You are advised to use the substitute API usbManager.usbControlTransfer.
Start API Level
9
Change Since
OpenHarmony SDK 5.0.0.36
Deprecated APIs/Components
API | Description | Substitute API |
---|---|---|
usbManager.controlTransfer | Replaced by usbManager.usbControlTransfer. | usbManager.usbControlTransfer |
Adaptation Guide
Change usbManager.controlTransfer to usbManager.usbControlTransfer during application development.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙ArkCompiler Subsystem Changelog
harmony 鸿蒙ArkGraphics2D Changelog
harmony 鸿蒙Bundle Manager Subsystem Changelog
harmony 鸿蒙Media Subsystem Changelog
harmony 鸿蒙Network Subsystem Changelog
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦