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