| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|错误码有变化|类名:usbManager;<br>方法or属性:function setCurrentFunctions(funcs: FunctionType): Promise\<void>;<br>旧版本信息:401|类名:usbManager;<br>方法or属性:function setCurrentFunctions(funcs: FunctionType): Promise\<void>;<br>新版本信息:401,14400002|@ohos.usbManager.d.ts|
|访问级别有变化|类名:PowerRoleType;<br>方法or属性:NONE = 0<br>旧版本信息:|类名:PowerRoleType;<br>方法or属性:NONE = 0<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:DataRoleType;<br>方法or属性:NONE = 0<br>旧版本信息:|类名:DataRoleType;<br>方法or属性:NONE = 0<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:PortModeType;<br>方法or属性:NONE = 0<br>旧版本信息:|类名:PortModeType;<br>方法or属性:NONE = 0<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:NONE = 0<br>旧版本信息:|类名:FunctionType;<br>方法or属性:NONE = 0<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:PowerRoleType;<br>方法or属性:SOURCE = 1<br>旧版本信息:|类名:PowerRoleType;<br>方法or属性:SOURCE = 1<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:PowerRoleType;<br>方法or属性:SINK = 2<br>旧版本信息:|类名:PowerRoleType;<br>方法or属性:SINK = 2<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:DataRoleType;<br>方法or属性:HOST = 1<br>旧版本信息:|类名:DataRoleType;<br>方法or属性:HOST = 1<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:DataRoleType;<br>方法or属性:DEVICE = 2<br>旧版本信息:|类名:DataRoleType;<br>方法or属性:DEVICE = 2<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:PortModeType;<br>方法or属性:UFP = 1<br>旧版本信息:|类名:PortModeType;<br>方法or属性:UFP = 1<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:PortModeType;<br>方法or属性:DFP = 2<br>旧版本信息:|类名:PortModeType;<br>方法or属性:DFP = 2<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:PortModeType;<br>方法or属性:DRP = 3<br>旧版本信息:|类名:PortModeType;<br>方法or属性:DRP = 3<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:PortModeType;<br>方法or属性:NUM_MODES = 4<br>旧版本信息:|类名:PortModeType;<br>方法or属性:NUM_MODES = 4<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:USBPortStatus;<br>方法or属性:currentMode: number;<br>旧版本信息:|类名:USBPortStatus;<br>方法or属性:currentMode: number;<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:USBPortStatus;<br>方法or属性:currentPowerRole: number;<br>旧版本信息:|类名:USBPortStatus;<br>方法or属性:currentPowerRole: number;<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:USBPortStatus;<br>方法or属性:currentDataRole: number;<br>旧版本信息:|类名:USBPortStatus;<br>方法or属性:currentDataRole: number;<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:USBPort;<br>方法or属性:id: number;<br>旧版本信息:|类名:USBPort;<br>方法or属性:id: number;<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:USBPort;<br>方法or属性:supportedModes: PortModeType;<br>旧版本信息:|类名:USBPort;<br>方法or属性:supportedModes: PortModeType;<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:USBPort;<br>方法or属性:status: USBPortStatus;<br>旧版本信息:|类名:USBPort;<br>方法or属性:status: USBPortStatus;<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:ACM = 1<br>旧版本信息:|类名:FunctionType;<br>方法or属性:ACM = 1<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:ECM = 2<br>旧版本信息:|类名:FunctionType;<br>方法or属性:ECM = 2<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:HDC = 4<br>旧版本信息:|类名:FunctionType;<br>方法or属性:HDC = 4<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:MTP = 8<br>旧版本信息:|类名:FunctionType;<br>方法or属性:MTP = 8<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:PTP = 16<br>旧版本信息:|类名:FunctionType;<br>方法or属性:PTP = 16<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:RNDIS = 32<br>旧版本信息:|类名:FunctionType;<br>方法or属性:RNDIS = 32<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:MIDI = 64<br>旧版本信息:|类名:FunctionType;<br>方法or属性:MIDI = 64<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:AUDIO_SOURCE = 128<br>旧版本信息:|类名:FunctionType;<br>方法or属性:AUDIO_SOURCE = 128<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:NCM = 256<br>旧版本信息:|类名:FunctionType;<br>方法or属性:NCM = 256<br>新版本信息:systemapi|@ohos.usb.d.ts|
|访问级别有变化|类名:PowerRoleType;<br>方法or属性:NONE = 0<br>旧版本信息:|类名:PowerRoleType;<br>方法or属性:NONE = 0<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:DataRoleType;<br>方法or属性:NONE = 0<br>旧版本信息:|类名:DataRoleType;<br>方法or属性:NONE = 0<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:PortModeType;<br>方法or属性:NONE = 0<br>旧版本信息:|类名:PortModeType;<br>方法or属性:NONE = 0<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:NONE = 0<br>旧版本信息:|类名:FunctionType;<br>方法or属性:NONE = 0<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:PowerRoleType;<br>方法or属性:SOURCE = 1<br>旧版本信息:|类名:PowerRoleType;<br>方法or属性:SOURCE = 1<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:PowerRoleType;<br>方法or属性:SINK = 2<br>旧版本信息:|类名:PowerRoleType;<br>方法or属性:SINK = 2<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:DataRoleType;<br>方法or属性:HOST = 1<br>旧版本信息:|类名:DataRoleType;<br>方法or属性:HOST = 1<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:DataRoleType;<br>方法or属性:DEVICE = 2<br>旧版本信息:|类名:DataRoleType;<br>方法or属性:DEVICE = 2<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:PortModeType;<br>方法or属性:UFP = 1<br>旧版本信息:|类名:PortModeType;<br>方法or属性:UFP = 1<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:PortModeType;<br>方法or属性:DFP = 2<br>旧版本信息:|类名:PortModeType;<br>方法or属性:DFP = 2<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:PortModeType;<br>方法or属性:DRP = 3<br>旧版本信息:|类名:PortModeType;<br>方法or属性:DRP = 3<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:PortModeType;<br>方法or属性:NUM_MODES = 4<br>旧版本信息:|类名:PortModeType;<br>方法or属性:NUM_MODES = 4<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:USBPortStatus;<br>方法or属性:currentMode: number;<br>旧版本信息:|类名:USBPortStatus;<br>方法or属性:currentMode: number;<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:USBPortStatus;<br>方法or属性:currentPowerRole: number;<br>旧版本信息:|类名:USBPortStatus;<br>方法or属性:currentPowerRole: number;<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:USBPortStatus;<br>方法or属性:currentDataRole: number;<br>旧版本信息:|类名:USBPortStatus;<br>方法or属性:currentDataRole: number;<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:USBPort;<br>方法or属性:id: number;<br>旧版本信息:|类名:USBPort;<br>方法or属性:id: number;<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:USBPort;<br>方法or属性:supportedModes: PortModeType;<br>旧版本信息:|类名:USBPort;<br>方法or属性:supportedModes: PortModeType;<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:USBPort;<br>方法or属性:status: USBPortStatus;<br>旧版本信息:|类名:USBPort;<br>方法or属性:status: USBPortStatus;<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:ACM = 1<br>旧版本信息:|类名:FunctionType;<br>方法or属性:ACM = 1<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:ECM = 2<br>旧版本信息:|类名:FunctionType;<br>方法or属性:ECM = 2<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:HDC = 4<br>旧版本信息:|类名:FunctionType;<br>方法or属性:HDC = 4<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:MTP = 8<br>旧版本信息:|类名:FunctionType;<br>方法or属性:MTP = 8<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:PTP = 16<br>旧版本信息:|类名:FunctionType;<br>方法or属性:PTP = 16<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:RNDIS = 32<br>旧版本信息:|类名:FunctionType;<br>方法or属性:RNDIS = 32<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:MIDI = 64<br>旧版本信息:|类名:FunctionType;<br>方法or属性:MIDI = 64<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:AUDIO_SOURCE = 128<br>旧版本信息:|类名:FunctionType;<br>方法or属性:AUDIO_SOURCE = 128<br>新版本信息:systemapi|@ohos.usbManager.d.ts|
|访问级别有变化|类名:FunctionType;<br>方法or属性:NCM = 256<br>旧版本信息:|类名:FunctionType;<br>方法or属性:NCM = 256<br>新版本信息:systemapi|@ohos.usbManager.d.ts|