1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Error code changed|Class name: usbManager;<br>Method or attribute name: function setCurrentFunctions(funcs: FunctionType): Promise\<void>;<br>Old version information: 401|Class name: usbManager;<br>Method or attribute name: function setCurrentFunctions(funcs: FunctionType): Promise\<void>;<br>New version information: 401, 14400002|@ohos.usbManager.d.ts|
4|Access level changed|Class name: PowerRoleType;<br>Method or attribute name: NONE = 0<br>Old version information: |Class name: PowerRoleType;<br>Method or attribute name: NONE = 0<br>New version information: systemapi|@ohos.usb.d.ts|
5|Access level changed|Class name: DataRoleType;<br>Method or attribute name: NONE = 0<br>Old version information: |Class name: DataRoleType;<br>Method or attribute name: NONE = 0<br>New version information: systemapi|@ohos.usb.d.ts|
6|Access level changed|Class name: PortModeType;<br>Method or attribute name: NONE = 0<br>Old version information: |Class name: PortModeType;<br>Method or attribute name: NONE = 0<br>New version information: systemapi|@ohos.usb.d.ts|
7|Access level changed|Class name: FunctionType;<br>Method or attribute name: NONE = 0<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: NONE = 0<br>New version information: systemapi|@ohos.usb.d.ts|
8|Access level changed|Class name: PowerRoleType;<br>Method or attribute name: SOURCE = 1<br>Old version information: |Class name: PowerRoleType;<br>Method or attribute name: SOURCE = 1<br>New version information: systemapi|@ohos.usb.d.ts|
9|Access level changed|Class name: PowerRoleType;<br>Method or attribute name: SINK = 2<br>Old version information: |Class name: PowerRoleType;<br>Method or attribute name: SINK = 2<br>New version information: systemapi|@ohos.usb.d.ts|
10|Access level changed|Class name: DataRoleType;<br>Method or attribute name: HOST = 1<br>Old version information: |Class name: DataRoleType;<br>Method or attribute name: HOST = 1<br>New version information: systemapi|@ohos.usb.d.ts|
11|Access level changed|Class name: DataRoleType;<br>Method or attribute name: DEVICE = 2<br>Old version information: |Class name: DataRoleType;<br>Method or attribute name: DEVICE = 2<br>New version information: systemapi|@ohos.usb.d.ts|
12|Access level changed|Class name: PortModeType;<br>Method or attribute name: UFP = 1<br>Old version information: |Class name: PortModeType;<br>Method or attribute name: UFP = 1<br>New version information: systemapi|@ohos.usb.d.ts|
13|Access level changed|Class name: PortModeType;<br>Method or attribute name: DFP = 2<br>Old version information: |Class name: PortModeType;<br>Method or attribute name: DFP = 2<br>New version information: systemapi|@ohos.usb.d.ts|
14|Access level changed|Class name: PortModeType;<br>Method or attribute name: DRP = 3<br>Old version information: |Class name: PortModeType;<br>Method or attribute name: DRP = 3<br>New version information: systemapi|@ohos.usb.d.ts|
15|Access level changed|Class name: PortModeType;<br>Method or attribute name: NUM_MODES = 4<br>Old version information: |Class name: PortModeType;<br>Method or attribute name: NUM_MODES = 4<br>New version information: systemapi|@ohos.usb.d.ts|
16|Access level changed|Class name: USBPortStatus;<br>Method or attribute name: currentMode: number;<br>Old version information: |Class name: USBPortStatus;<br>Method or attribute name: currentMode: number;<br>New version information: systemapi|@ohos.usb.d.ts|
17|Access level changed|Class name: USBPortStatus;<br>Method or attribute name: currentPowerRole: number;<br>Old version information: |Class name: USBPortStatus;<br>Method or attribute name: currentPowerRole: number;<br>New version information: systemapi|@ohos.usb.d.ts|
18|Access level changed|Class name: USBPortStatus;<br>Method or attribute name: currentDataRole: number;<br>Old version information: |Class name: USBPortStatus;<br>Method or attribute name: currentDataRole: number;<br>New version information: systemapi|@ohos.usb.d.ts|
19|Access level changed|Class name: USBPort;<br>Method or attribute name: id: number;<br>Old version information: |Class name: USBPort;<br>Method or attribute name: id: number;<br>New version information: systemapi|@ohos.usb.d.ts|
20|Access level changed|Class name: USBPort;<br>Method or attribute name: supportedModes: PortModeType;<br>Old version information: |Class name: USBPort;<br>Method or attribute name: supportedModes: PortModeType;<br>New version information: systemapi|@ohos.usb.d.ts|
21|Access level changed|Class name: USBPort;<br>Method or attribute name: status: USBPortStatus;<br>Old version information: |Class name: USBPort;<br>Method or attribute name: status: USBPortStatus;<br>New version information: systemapi|@ohos.usb.d.ts|
22|Access level changed|Class name: FunctionType;<br>Method or attribute name: ACM = 1<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: ACM = 1<br>New version information: systemapi|@ohos.usb.d.ts|
23|Access level changed|Class name: FunctionType;<br>Method or attribute name: ECM = 2<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: ECM = 2<br>New version information: systemapi|@ohos.usb.d.ts|
24|Access level changed|Class name: FunctionType;<br>Method or attribute name: HDC = 4<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: HDC = 4<br>New version information: systemapi|@ohos.usb.d.ts|
25|Access level changed|Class name: FunctionType;<br>Method or attribute name: MTP = 8<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: MTP = 8<br>New version information: systemapi|@ohos.usb.d.ts|
26|Access level changed|Class name: FunctionType;<br>Method or attribute name: PTP = 16<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: PTP = 16<br>New version information: systemapi|@ohos.usb.d.ts|
27|Access level changed|Class name: FunctionType;<br>Method or attribute name: RNDIS = 32<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: RNDIS = 32<br>New version information: systemapi|@ohos.usb.d.ts|
28|Access level changed|Class name: FunctionType;<br>Method or attribute name: MIDI = 64<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: MIDI = 64<br>New version information: systemapi|@ohos.usb.d.ts|
29|Access level changed|Class name: FunctionType;<br>Method or attribute name: AUDIO_SOURCE = 128<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: AUDIO_SOURCE = 128<br>New version information: systemapi|@ohos.usb.d.ts|
30|Access level changed|Class name: FunctionType;<br>Method or attribute name: NCM = 256<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: NCM = 256<br>New version information: systemapi|@ohos.usb.d.ts|
31|Access level changed|Class name: PowerRoleType;<br>Method or attribute name: NONE = 0<br>Old version information: |Class name: PowerRoleType;<br>Method or attribute name: NONE = 0<br>New version information: systemapi|@ohos.usbManager.d.ts|
32|Access level changed|Class name: DataRoleType;<br>Method or attribute name: NONE = 0<br>Old version information: |Class name: DataRoleType;<br>Method or attribute name: NONE = 0<br>New version information: systemapi|@ohos.usbManager.d.ts|
33|Access level changed|Class name: PortModeType;<br>Method or attribute name: NONE = 0<br>Old version information: |Class name: PortModeType;<br>Method or attribute name: NONE = 0<br>New version information: systemapi|@ohos.usbManager.d.ts|
34|Access level changed|Class name: FunctionType;<br>Method or attribute name: NONE = 0<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: NONE = 0<br>New version information: systemapi|@ohos.usbManager.d.ts|
35|Access level changed|Class name: PowerRoleType;<br>Method or attribute name: SOURCE = 1<br>Old version information: |Class name: PowerRoleType;<br>Method or attribute name: SOURCE = 1<br>New version information: systemapi|@ohos.usbManager.d.ts|
36|Access level changed|Class name: PowerRoleType;<br>Method or attribute name: SINK = 2<br>Old version information: |Class name: PowerRoleType;<br>Method or attribute name: SINK = 2<br>New version information: systemapi|@ohos.usbManager.d.ts|
37|Access level changed|Class name: DataRoleType;<br>Method or attribute name: HOST = 1<br>Old version information: |Class name: DataRoleType;<br>Method or attribute name: HOST = 1<br>New version information: systemapi|@ohos.usbManager.d.ts|
38|Access level changed|Class name: DataRoleType;<br>Method or attribute name: DEVICE = 2<br>Old version information: |Class name: DataRoleType;<br>Method or attribute name: DEVICE = 2<br>New version information: systemapi|@ohos.usbManager.d.ts|
39|Access level changed|Class name: PortModeType;<br>Method or attribute name: UFP = 1<br>Old version information: |Class name: PortModeType;<br>Method or attribute name: UFP = 1<br>New version information: systemapi|@ohos.usbManager.d.ts|
40|Access level changed|Class name: PortModeType;<br>Method or attribute name: DFP = 2<br>Old version information: |Class name: PortModeType;<br>Method or attribute name: DFP = 2<br>New version information: systemapi|@ohos.usbManager.d.ts|
41|Access level changed|Class name: PortModeType;<br>Method or attribute name: DRP = 3<br>Old version information: |Class name: PortModeType;<br>Method or attribute name: DRP = 3<br>New version information: systemapi|@ohos.usbManager.d.ts|
42|Access level changed|Class name: PortModeType;<br>Method or attribute name: NUM_MODES = 4<br>Old version information: |Class name: PortModeType;<br>Method or attribute name: NUM_MODES = 4<br>New version information: systemapi|@ohos.usbManager.d.ts|
43|Access level changed|Class name: USBPortStatus;<br>Method or attribute name: currentMode: number;<br>Old version information: |Class name: USBPortStatus;<br>Method or attribute name: currentMode: number;<br>New version information: systemapi|@ohos.usbManager.d.ts|
44|Access level changed|Class name: USBPortStatus;<br>Method or attribute name: currentPowerRole: number;<br>Old version information: |Class name: USBPortStatus;<br>Method or attribute name: currentPowerRole: number;<br>New version information: systemapi|@ohos.usbManager.d.ts|
45|Access level changed|Class name: USBPortStatus;<br>Method or attribute name: currentDataRole: number;<br>Old version information: |Class name: USBPortStatus;<br>Method or attribute name: currentDataRole: number;<br>New version information: systemapi|@ohos.usbManager.d.ts|
46|Access level changed|Class name: USBPort;<br>Method or attribute name: id: number;<br>Old version information: |Class name: USBPort;<br>Method or attribute name: id: number;<br>New version information: systemapi|@ohos.usbManager.d.ts|
47|Access level changed|Class name: USBPort;<br>Method or attribute name: supportedModes: PortModeType;<br>Old version information: |Class name: USBPort;<br>Method or attribute name: supportedModes: PortModeType;<br>New version information: systemapi|@ohos.usbManager.d.ts|
48|Access level changed|Class name: USBPort;<br>Method or attribute name: status: USBPortStatus;<br>Old version information: |Class name: USBPort;<br>Method or attribute name: status: USBPortStatus;<br>New version information: systemapi|@ohos.usbManager.d.ts|
49|Access level changed|Class name: FunctionType;<br>Method or attribute name: ACM = 1<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: ACM = 1<br>New version information: systemapi|@ohos.usbManager.d.ts|
50|Access level changed|Class name: FunctionType;<br>Method or attribute name: ECM = 2<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: ECM = 2<br>New version information: systemapi|@ohos.usbManager.d.ts|
51|Access level changed|Class name: FunctionType;<br>Method or attribute name: HDC = 4<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: HDC = 4<br>New version information: systemapi|@ohos.usbManager.d.ts|
52|Access level changed|Class name: FunctionType;<br>Method or attribute name: MTP = 8<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: MTP = 8<br>New version information: systemapi|@ohos.usbManager.d.ts|
53|Access level changed|Class name: FunctionType;<br>Method or attribute name: PTP = 16<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: PTP = 16<br>New version information: systemapi|@ohos.usbManager.d.ts|
54|Access level changed|Class name: FunctionType;<br>Method or attribute name: RNDIS = 32<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: RNDIS = 32<br>New version information: systemapi|@ohos.usbManager.d.ts|
55|Access level changed|Class name: FunctionType;<br>Method or attribute name: MIDI = 64<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: MIDI = 64<br>New version information: systemapi|@ohos.usbManager.d.ts|
56|Access level changed|Class name: FunctionType;<br>Method or attribute name: AUDIO_SOURCE = 128<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: AUDIO_SOURCE = 128<br>New version information: systemapi|@ohos.usbManager.d.ts|
57|Access level changed|Class name: FunctionType;<br>Method or attribute name: NCM = 256<br>Old version information: |Class name: FunctionType;<br>Method or attribute name: NCM = 256<br>New version information: systemapi|@ohos.usbManager.d.ts|
58