| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Error code changed|Class name: usbManager;
Method or attribute name: function setCurrentFunctions(funcs: FunctionType): Promise\;
Old version information: 401|Class name: usbManager;
Method or attribute name: function setCurrentFunctions(funcs: FunctionType): Promise\;
New version information: 401, 14400002|@ohos.usbManager.d.ts|
|Access level changed|Class name: PowerRoleType;
Method or attribute name: NONE = 0
Old version information: |Class name: PowerRoleType;
Method or attribute name: NONE = 0
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: DataRoleType;
Method or attribute name: NONE = 0
Old version information: |Class name: DataRoleType;
Method or attribute name: NONE = 0
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: PortModeType;
Method or attribute name: NONE = 0
Old version information: |Class name: PortModeType;
Method or attribute name: NONE = 0
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: NONE = 0
Old version information: |Class name: FunctionType;
Method or attribute name: NONE = 0
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: PowerRoleType;
Method or attribute name: SOURCE = 1
Old version information: |Class name: PowerRoleType;
Method or attribute name: SOURCE = 1
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: PowerRoleType;
Method or attribute name: SINK = 2
Old version information: |Class name: PowerRoleType;
Method or attribute name: SINK = 2
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: DataRoleType;
Method or attribute name: HOST = 1
Old version information: |Class name: DataRoleType;
Method or attribute name: HOST = 1
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: DataRoleType;
Method or attribute name: DEVICE = 2
Old version information: |Class name: DataRoleType;
Method or attribute name: DEVICE = 2
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: PortModeType;
Method or attribute name: UFP = 1
Old version information: |Class name: PortModeType;
Method or attribute name: UFP = 1
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: PortModeType;
Method or attribute name: DFP = 2
Old version information: |Class name: PortModeType;
Method or attribute name: DFP = 2
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: PortModeType;
Method or attribute name: DRP = 3
Old version information: |Class name: PortModeType;
Method or attribute name: DRP = 3
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: PortModeType;
Method or attribute name: NUM_MODES = 4
Old version information: |Class name: PortModeType;
Method or attribute name: NUM_MODES = 4
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: USBPortStatus;
Method or attribute name: currentMode: number;
Old version information: |Class name: USBPortStatus;
Method or attribute name: currentMode: number;
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: USBPortStatus;
Method or attribute name: currentPowerRole: number;
Old version information: |Class name: USBPortStatus;
Method or attribute name: currentPowerRole: number;
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: USBPortStatus;
Method or attribute name: currentDataRole: number;
Old version information: |Class name: USBPortStatus;
Method or attribute name: currentDataRole: number;
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: USBPort;
Method or attribute name: id: number;
Old version information: |Class name: USBPort;
Method or attribute name: id: number;
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: USBPort;
Method or attribute name: supportedModes: PortModeType;
Old version information: |Class name: USBPort;
Method or attribute name: supportedModes: PortModeType;
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: USBPort;
Method or attribute name: status: USBPortStatus;
Old version information: |Class name: USBPort;
Method or attribute name: status: USBPortStatus;
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: ACM = 1
Old version information: |Class name: FunctionType;
Method or attribute name: ACM = 1
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: ECM = 2
Old version information: |Class name: FunctionType;
Method or attribute name: ECM = 2
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: HDC = 4
Old version information: |Class name: FunctionType;
Method or attribute name: HDC = 4
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: MTP = 8
Old version information: |Class name: FunctionType;
Method or attribute name: MTP = 8
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: PTP = 16
Old version information: |Class name: FunctionType;
Method or attribute name: PTP = 16
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: RNDIS = 32
Old version information: |Class name: FunctionType;
Method or attribute name: RNDIS = 32
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: MIDI = 64
Old version information: |Class name: FunctionType;
Method or attribute name: MIDI = 64
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: AUDIO_SOURCE = 128
Old version information: |Class name: FunctionType;
Method or attribute name: AUDIO_SOURCE = 128
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: NCM = 256
Old version information: |Class name: FunctionType;
Method or attribute name: NCM = 256
New version information: systemapi|@ohos.usb.d.ts|
|Access level changed|Class name: PowerRoleType;
Method or attribute name: NONE = 0
Old version information: |Class name: PowerRoleType;
Method or attribute name: NONE = 0
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: DataRoleType;
Method or attribute name: NONE = 0
Old version information: |Class name: DataRoleType;
Method or attribute name: NONE = 0
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: PortModeType;
Method or attribute name: NONE = 0
Old version information: |Class name: PortModeType;
Method or attribute name: NONE = 0
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: NONE = 0
Old version information: |Class name: FunctionType;
Method or attribute name: NONE = 0
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: PowerRoleType;
Method or attribute name: SOURCE = 1
Old version information: |Class name: PowerRoleType;
Method or attribute name: SOURCE = 1
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: PowerRoleType;
Method or attribute name: SINK = 2
Old version information: |Class name: PowerRoleType;
Method or attribute name: SINK = 2
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: DataRoleType;
Method or attribute name: HOST = 1
Old version information: |Class name: DataRoleType;
Method or attribute name: HOST = 1
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: DataRoleType;
Method or attribute name: DEVICE = 2
Old version information: |Class name: DataRoleType;
Method or attribute name: DEVICE = 2
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: PortModeType;
Method or attribute name: UFP = 1
Old version information: |Class name: PortModeType;
Method or attribute name: UFP = 1
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: PortModeType;
Method or attribute name: DFP = 2
Old version information: |Class name: PortModeType;
Method or attribute name: DFP = 2
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: PortModeType;
Method or attribute name: DRP = 3
Old version information: |Class name: PortModeType;
Method or attribute name: DRP = 3
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: PortModeType;
Method or attribute name: NUM_MODES = 4
Old version information: |Class name: PortModeType;
Method or attribute name: NUM_MODES = 4
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: USBPortStatus;
Method or attribute name: currentMode: number;
Old version information: |Class name: USBPortStatus;
Method or attribute name: currentMode: number;
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: USBPortStatus;
Method or attribute name: currentPowerRole: number;
Old version information: |Class name: USBPortStatus;
Method or attribute name: currentPowerRole: number;
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: USBPortStatus;
Method or attribute name: currentDataRole: number;
Old version information: |Class name: USBPortStatus;
Method or attribute name: currentDataRole: number;
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: USBPort;
Method or attribute name: id: number;
Old version information: |Class name: USBPort;
Method or attribute name: id: number;
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: USBPort;
Method or attribute name: supportedModes: PortModeType;
Old version information: |Class name: USBPort;
Method or attribute name: supportedModes: PortModeType;
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: USBPort;
Method or attribute name: status: USBPortStatus;
Old version information: |Class name: USBPort;
Method or attribute name: status: USBPortStatus;
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: ACM = 1
Old version information: |Class name: FunctionType;
Method or attribute name: ACM = 1
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: ECM = 2
Old version information: |Class name: FunctionType;
Method or attribute name: ECM = 2
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: HDC = 4
Old version information: |Class name: FunctionType;
Method or attribute name: HDC = 4
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: MTP = 8
Old version information: |Class name: FunctionType;
Method or attribute name: MTP = 8
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: PTP = 16
Old version information: |Class name: FunctionType;
Method or attribute name: PTP = 16
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: RNDIS = 32
Old version information: |Class name: FunctionType;
Method or attribute name: RNDIS = 32
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: MIDI = 64
Old version information: |Class name: FunctionType;
Method or attribute name: MIDI = 64
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: AUDIO_SOURCE = 128
Old version information: |Class name: FunctionType;
Method or attribute name: AUDIO_SOURCE = 128
New version information: systemapi|@ohos.usbManager.d.ts|
|Access level changed|Class name: FunctionType;
Method or attribute name: NCM = 256
Old version information: |Class name: FunctionType;
Method or attribute name: NCM = 256
New version information: systemapi|@ohos.usbManager.d.ts|