1| Change Type | Old Version | New Version | d.ts File | 2| ---- | ------ | ------ | -------- | 3|Added|NA|Class name: USBPort;<br>Method or attribute name: id: number;|@ohos.usb.d.ts| 4|Added|NA|Class name: usb;<br>Method or attribute name: function usbFunctionsFromString(funcs: string): number;|@ohos.usb.d.ts| 5|Added|NA|Class name: usb;<br>Method or attribute name: function usbFunctionsToString(funcs: FunctionType): string;|@ohos.usb.d.ts| 6|Added|NA|Class name: usb;<br>Method or attribute name: function setCurrentFunctions(funcs: FunctionType): Promise\<boolean>;|@ohos.usb.d.ts| 7|Added|NA|Class name: usb;<br>Method or attribute name: function getCurrentFunctions(): FunctionType;|@ohos.usb.d.ts| 8|Added|NA|Class name: usb;<br>Method or attribute name: function getPorts(): Array\<USBPort>;|@ohos.usb.d.ts| 9|Added|NA|Class name: usb;<br>Method or attribute name: function getSupportedModes(portId: number): PortModeType;|@ohos.usb.d.ts| 10|Added|NA|Class name: usb;<br>Method or attribute name: function setPortRoles(portId: number, powerRole: PowerRoleType, dataRole: DataRoleType): Promise\<boolean>;|@ohos.usb.d.ts| 11|Added|NA|Class name: PowerRoleType;<br>Method or attribute name: NONE = 0|@ohos.usb.d.ts| 12|Added|NA|Class name: DataRoleType;<br>Method or attribute name: NONE = 0|@ohos.usb.d.ts| 13|Added|NA|Class name: PortModeType;<br>Method or attribute name: NONE = 0|@ohos.usb.d.ts| 14|Added|NA|Class name: FunctionType;<br>Method or attribute name: NONE = 0|@ohos.usb.d.ts| 15|Added|NA|Class name: PowerRoleType;<br>Method or attribute name: SOURCE = 1|@ohos.usb.d.ts| 16|Added|NA|Class name: PowerRoleType;<br>Method or attribute name: SINK = 2|@ohos.usb.d.ts| 17|Added|NA|Class name: DataRoleType;<br>Method or attribute name: HOST = 1|@ohos.usb.d.ts| 18|Added|NA|Class name: DataRoleType;<br>Method or attribute name: DEVICE = 2|@ohos.usb.d.ts| 19|Added|NA|Class name: PortModeType;<br>Method or attribute name: UFP = 1|@ohos.usb.d.ts| 20|Added|NA|Class name: PortModeType;<br>Method or attribute name: DFP = 2|@ohos.usb.d.ts| 21|Added|NA|Class name: PortModeType;<br>Method or attribute name: DRP = 3|@ohos.usb.d.ts| 22|Added|NA|Class name: PortModeType;<br>Method or attribute name: NUM_MODES = 4|@ohos.usb.d.ts| 23|Added|NA|Class name: USBPortStatus;<br>Method or attribute name: currentMode: number;|@ohos.usb.d.ts| 24|Added|NA|Class name: USBPortStatus;<br>Method or attribute name: currentPowerRole: number;|@ohos.usb.d.ts| 25|Added|NA|Class name: USBPortStatus;<br>Method or attribute name: currentDataRole: number;|@ohos.usb.d.ts| 26|Added|NA|Class name: USBPort;<br>Method or attribute name: supportedModes: PortModeType;|@ohos.usb.d.ts| 27|Added|NA|Class name: USBPort;<br>Method or attribute name: status: USBPortStatus;|@ohos.usb.d.ts| 28|Added|NA|Class name: FunctionType;<br>Method or attribute name: ACM = 1|@ohos.usb.d.ts| 29|Added|NA|Class name: FunctionType;<br>Method or attribute name: ECM = 2|@ohos.usb.d.ts| 30|Added|NA|Class name: FunctionType;<br>Method or attribute name: HDC = 4|@ohos.usb.d.ts| 31|Added|NA|Class name: FunctionType;<br>Method or attribute name: MTP = 8|@ohos.usb.d.ts| 32|Added|NA|Class name: FunctionType;<br>Method or attribute name: PTP = 16|@ohos.usb.d.ts| 33|Added|NA|Class name: FunctionType;<br>Method or attribute name: RNDIS = 32|@ohos.usb.d.ts| 34|Added|NA|Class name: FunctionType;<br>Method or attribute name: MIDI = 64|@ohos.usb.d.ts| 35|Added|NA|Class name: FunctionType;<br>Method or attribute name: AUDIO_SOURCE = 128|@ohos.usb.d.ts| 36|Added|NA|Class name: FunctionType;<br>Method or attribute name: NCM = 256|@ohos.usb.d.ts| 37|Added|NA|Class name: usbManager;<br>Method or attribute name: function getDevices(): Array\<Readonly\<USBDevice>>;|@ohos.usbManager.d.ts| 38|Added|NA|Class name: usbManager;<br>Method or attribute name: function connectDevice(device: USBDevice): Readonly\<USBDevicePipe>;|@ohos.usbManager.d.ts| 39|Added|NA|Class name: usbManager;<br>Method or attribute name: function hasRight(deviceName: string): boolean;|@ohos.usbManager.d.ts| 40|Added|NA|Class name: usbManager;<br>Method or attribute name: function requestRight(deviceName: string): Promise\<boolean>;|@ohos.usbManager.d.ts| 41|Added|NA|Class name: usbManager;<br>Method or attribute name: function removeRight(deviceName: string): boolean;|@ohos.usbManager.d.ts| 42|Added|NA|Class name: usbManager;<br>Method or attribute name: function addRight(bundleName: string, deviceName: string): boolean;|@ohos.usbManager.d.ts| 43|Added|NA|Class name: usbManager;<br>Method or attribute name: function usbFunctionsFromString(funcs: string): number;|@ohos.usbManager.d.ts| 44|Added|NA|Class name: usbManager;<br>Method or attribute name: function usbFunctionsToString(funcs: FunctionType): string;|@ohos.usbManager.d.ts| 45|Added|NA|Class name: usbManager;<br>Method or attribute name: function setCurrentFunctions(funcs: FunctionType): Promise\<void>;|@ohos.usbManager.d.ts| 46|Added|NA|Class name: usbManager;<br>Method or attribute name: function getCurrentFunctions(): FunctionType;|@ohos.usbManager.d.ts| 47|Added|NA|Class name: usbManager;<br>Method or attribute name: function getPorts(): Array\<USBPort>;|@ohos.usbManager.d.ts| 48|Added|NA|Class name: usbManager;<br>Method or attribute name: function getSupportedModes(portId: number): PortModeType;|@ohos.usbManager.d.ts| 49|Added|NA|Class name: usbManager;<br>Method or attribute name: function setPortRoles(portId: number, powerRole: PowerRoleType, dataRole: DataRoleType): Promise\<void>;|@ohos.usbManager.d.ts| 50|Added|NA|Class name: usbManager;<br>Method or attribute name: function claimInterface(pipe: USBDevicePipe, iface: USBInterface, force?: boolean): number;|@ohos.usbManager.d.ts| 51|Added|NA|Class name: usbManager;<br>Method or attribute name: function releaseInterface(pipe: USBDevicePipe, iface: USBInterface): number;|@ohos.usbManager.d.ts| 52|Added|NA|Class name: usbManager;<br>Method or attribute name: function setConfiguration(pipe: USBDevicePipe, config: USBConfiguration): number;|@ohos.usbManager.d.ts| 53|Added|NA|Class name: usbManager;<br>Method or attribute name: function setInterface(pipe: USBDevicePipe, iface: USBInterface): number;|@ohos.usbManager.d.ts| 54|Added|NA|Class name: usbManager;<br>Method or attribute name: function getRawDescriptor(pipe: USBDevicePipe): Uint8Array;|@ohos.usbManager.d.ts| 55|Added|NA|Class name: usbManager;<br>Method or attribute name: function getFileDescriptor(pipe: USBDevicePipe): number;|@ohos.usbManager.d.ts| 56|Added|NA|Class name: usbManager;<br>Method or attribute name: function controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout?: number): Promise\<number>;|@ohos.usbManager.d.ts| 57|Added|NA|Class name: usbManager;<br>Method or attribute name: function bulkTransfer(pipe: USBDevicePipe, endpoint: USBEndpoint, buffer: Uint8Array,<br><br> timeout?: number): Promise\<number>;|@ohos.usbManager.d.ts| 58|Added|NA|Class name: usbManager;<br>Method or attribute name: function closePipe(pipe: USBDevicePipe): number;|@ohos.usbManager.d.ts| 59|Added|NA|Class name: USBEndpoint;<br>Method or attribute name: address: number;|@ohos.usbManager.d.ts| 60|Added|NA|Class name: USBEndpoint;<br>Method or attribute name: attributes: number;|@ohos.usbManager.d.ts| 61|Added|NA|Class name: USBConfiguration;<br>Method or attribute name: attributes: number;|@ohos.usbManager.d.ts| 62|Added|NA|Class name: USBEndpoint;<br>Method or attribute name: interval: number;|@ohos.usbManager.d.ts| 63|Added|NA|Class name: USBEndpoint;<br>Method or attribute name: maxPacketSize: number;|@ohos.usbManager.d.ts| 64|Added|NA|Class name: USBEndpoint;<br>Method or attribute name: direction: USBRequestDirection;|@ohos.usbManager.d.ts| 65|Added|NA|Class name: USBEndpoint;<br>Method or attribute name: number: number;|@ohos.usbManager.d.ts| 66|Added|NA|Class name: USBEndpoint;<br>Method or attribute name: type: number;|@ohos.usbManager.d.ts| 67|Added|NA|Class name: USBEndpoint;<br>Method or attribute name: interfaceId: number;|@ohos.usbManager.d.ts| 68|Added|NA|Class name: USBInterface;<br>Method or attribute name: id: number;|@ohos.usbManager.d.ts| 69|Added|NA|Class name: USBConfiguration;<br>Method or attribute name: id: number;|@ohos.usbManager.d.ts| 70|Added|NA|Class name: USBPort;<br>Method or attribute name: id: number;|@ohos.usbManager.d.ts| 71|Added|NA|Class name: USBInterface;<br>Method or attribute name: protocol: number;|@ohos.usbManager.d.ts| 72|Added|NA|Class name: USBDevice;<br>Method or attribute name: protocol: number;|@ohos.usbManager.d.ts| 73|Added|NA|Class name: USBInterface;<br>Method or attribute name: clazz: number;|@ohos.usbManager.d.ts| 74|Added|NA|Class name: USBDevice;<br>Method or attribute name: clazz: number;|@ohos.usbManager.d.ts| 75|Added|NA|Class name: USBInterface;<br>Method or attribute name: subClass: number;|@ohos.usbManager.d.ts| 76|Added|NA|Class name: USBDevice;<br>Method or attribute name: subClass: number;|@ohos.usbManager.d.ts| 77|Added|NA|Class name: USBInterface;<br>Method or attribute name: alternateSetting: number;|@ohos.usbManager.d.ts| 78|Added|NA|Class name: USBInterface;<br>Method or attribute name: name: string;|@ohos.usbManager.d.ts| 79|Added|NA|Class name: USBConfiguration;<br>Method or attribute name: name: string;|@ohos.usbManager.d.ts| 80|Added|NA|Class name: USBDevice;<br>Method or attribute name: name: string;|@ohos.usbManager.d.ts| 81|Added|NA|Class name: USBInterface;<br>Method or attribute name: endpoints: Array\<USBEndpoint>;|@ohos.usbManager.d.ts| 82|Added|NA|Class name: USBConfiguration;<br>Method or attribute name: maxPower: number;|@ohos.usbManager.d.ts| 83|Added|NA|Class name: USBConfiguration;<br>Method or attribute name: isRemoteWakeup: boolean;|@ohos.usbManager.d.ts| 84|Added|NA|Class name: USBConfiguration;<br>Method or attribute name: isSelfPowered: boolean;|@ohos.usbManager.d.ts| 85|Added|NA|Class name: USBConfiguration;<br>Method or attribute name: interfaces: Array\<USBInterface>;|@ohos.usbManager.d.ts| 86|Added|NA|Class name: USBDevice;<br>Method or attribute name: busNum: number;|@ohos.usbManager.d.ts| 87|Added|NA|Class name: USBDevicePipe;<br>Method or attribute name: busNum: number;|@ohos.usbManager.d.ts| 88|Added|NA|Class name: USBDevice;<br>Method or attribute name: devAddress: number;|@ohos.usbManager.d.ts| 89|Added|NA|Class name: USBDevicePipe;<br>Method or attribute name: devAddress: number;|@ohos.usbManager.d.ts| 90|Added|NA|Class name: USBDevice;<br>Method or attribute name: serial: string;|@ohos.usbManager.d.ts| 91|Added|NA|Class name: USBDevice;<br>Method or attribute name: manufacturerName: string;|@ohos.usbManager.d.ts| 92|Added|NA|Class name: USBDevice;<br>Method or attribute name: productName: string;|@ohos.usbManager.d.ts| 93|Added|NA|Class name: USBDevice;<br>Method or attribute name: version: string;|@ohos.usbManager.d.ts| 94|Added|NA|Class name: USBDevice;<br>Method or attribute name: vendorId: number;|@ohos.usbManager.d.ts| 95|Added|NA|Class name: USBDevice;<br>Method or attribute name: productId: number;|@ohos.usbManager.d.ts| 96|Added|NA|Class name: USBDevice;<br>Method or attribute name: configs: Array\<USBConfiguration>;|@ohos.usbManager.d.ts| 97|Added|NA|Class name: PowerRoleType;<br>Method or attribute name: NONE = 0|@ohos.usbManager.d.ts| 98|Added|NA|Class name: DataRoleType;<br>Method or attribute name: NONE = 0|@ohos.usbManager.d.ts| 99|Added|NA|Class name: PortModeType;<br>Method or attribute name: NONE = 0|@ohos.usbManager.d.ts| 100|Added|NA|Class name: FunctionType;<br>Method or attribute name: NONE = 0|@ohos.usbManager.d.ts| 101|Added|NA|Class name: PowerRoleType;<br>Method or attribute name: SOURCE = 1|@ohos.usbManager.d.ts| 102|Added|NA|Class name: PowerRoleType;<br>Method or attribute name: SINK = 2|@ohos.usbManager.d.ts| 103|Added|NA|Class name: DataRoleType;<br>Method or attribute name: HOST = 1|@ohos.usbManager.d.ts| 104|Added|NA|Class name: DataRoleType;<br>Method or attribute name: DEVICE = 2|@ohos.usbManager.d.ts| 105|Added|NA|Class name: PortModeType;<br>Method or attribute name: UFP = 1|@ohos.usbManager.d.ts| 106|Added|NA|Class name: PortModeType;<br>Method or attribute name: DFP = 2|@ohos.usbManager.d.ts| 107|Added|NA|Class name: PortModeType;<br>Method or attribute name: DRP = 3|@ohos.usbManager.d.ts| 108|Added|NA|Class name: PortModeType;<br>Method or attribute name: NUM_MODES = 4|@ohos.usbManager.d.ts| 109|Added|NA|Class name: USBPortStatus;<br>Method or attribute name: currentMode: number;|@ohos.usbManager.d.ts| 110|Added|NA|Class name: USBPortStatus;<br>Method or attribute name: currentPowerRole: number;|@ohos.usbManager.d.ts| 111|Added|NA|Class name: USBPortStatus;<br>Method or attribute name: currentDataRole: number;|@ohos.usbManager.d.ts| 112|Added|NA|Class name: USBPort;<br>Method or attribute name: supportedModes: PortModeType;|@ohos.usbManager.d.ts| 113|Added|NA|Class name: USBPort;<br>Method or attribute name: status: USBPortStatus;|@ohos.usbManager.d.ts| 114|Added|NA|Class name: USBControlParams;<br>Method or attribute name: request: number;|@ohos.usbManager.d.ts| 115|Added|NA|Class name: USBControlParams;<br>Method or attribute name: target: USBRequestTargetType;|@ohos.usbManager.d.ts| 116|Added|NA|Class name: USBControlParams;<br>Method or attribute name: reqType: USBControlRequestType;|@ohos.usbManager.d.ts| 117|Added|NA|Class name: USBControlParams;<br>Method or attribute name: value: number;|@ohos.usbManager.d.ts| 118|Added|NA|Class name: USBControlParams;<br>Method or attribute name: index: number;|@ohos.usbManager.d.ts| 119|Added|NA|Class name: USBControlParams;<br>Method or attribute name: data: Uint8Array;|@ohos.usbManager.d.ts| 120|Added|NA|Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_DEVICE = 0|@ohos.usbManager.d.ts| 121|Added|NA|Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_INTERFACE = 1|@ohos.usbManager.d.ts| 122|Added|NA|Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_ENDPOINT = 2|@ohos.usbManager.d.ts| 123|Added|NA|Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_OTHER = 3|@ohos.usbManager.d.ts| 124|Added|NA|Class name: USBControlRequestType;<br>Method or attribute name: USB_REQUEST_TYPE_STANDARD = 0|@ohos.usbManager.d.ts| 125|Added|NA|Class name: USBControlRequestType;<br>Method or attribute name: USB_REQUEST_TYPE_CLASS = 1|@ohos.usbManager.d.ts| 126|Added|NA|Class name: USBControlRequestType;<br>Method or attribute name: USB_REQUEST_TYPE_VENDOR = 2|@ohos.usbManager.d.ts| 127|Added|NA|Class name: USBRequestDirection;<br>Method or attribute name: USB_REQUEST_DIR_TO_DEVICE = 0|@ohos.usbManager.d.ts| 128|Added|NA|Class name: USBRequestDirection;<br>Method or attribute name: USB_REQUEST_DIR_FROM_DEVICE = 0x80|@ohos.usbManager.d.ts| 129|Added|NA|Class name: FunctionType;<br>Method or attribute name: ACM = 1|@ohos.usbManager.d.ts| 130|Added|NA|Class name: FunctionType;<br>Method or attribute name: ECM = 2|@ohos.usbManager.d.ts| 131|Added|NA|Class name: FunctionType;<br>Method or attribute name: HDC = 4|@ohos.usbManager.d.ts| 132|Added|NA|Class name: FunctionType;<br>Method or attribute name: MTP = 8|@ohos.usbManager.d.ts| 133|Added|NA|Class name: FunctionType;<br>Method or attribute name: PTP = 16|@ohos.usbManager.d.ts| 134|Added|NA|Class name: FunctionType;<br>Method or attribute name: RNDIS = 32|@ohos.usbManager.d.ts| 135|Added|NA|Class name: FunctionType;<br>Method or attribute name: MIDI = 64|@ohos.usbManager.d.ts| 136|Added|NA|Class name: FunctionType;<br>Method or attribute name: AUDIO_SOURCE = 128|@ohos.usbManager.d.ts| 137|Added|NA|Class name: FunctionType;<br>Method or attribute name: NCM = 256|@ohos.usbManager.d.ts| 138|Deprecated version changed|Class name: usb;<br>Method or attribute name: declare usb<br>Old version: |Class name: usb;<br>Method or attribute name: declare usb<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 139|Deprecated version changed|Class name: usb;<br>Method or attribute name: function getDevices(): Array\<Readonly\<USBDevice>>;<br>Old version: |Class name: usb;<br>Method or attribute name: function getDevices(): Array\<Readonly\<USBDevice>>;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 140|Deprecated version changed|Class name: usb;<br>Method or attribute name: function connectDevice(device: USBDevice): Readonly\<USBDevicePipe>;<br>Old version: |Class name: usb;<br>Method or attribute name: function connectDevice(device: USBDevice): Readonly\<USBDevicePipe>;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 141|Deprecated version changed|Class name: usb;<br>Method or attribute name: function hasRight(deviceName: string): boolean;<br>Old version: |Class name: usb;<br>Method or attribute name: function hasRight(deviceName: string): boolean;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 142|Deprecated version changed|Class name: usb;<br>Method or attribute name: function requestRight(deviceName: string): Promise\<boolean>;<br>Old version: |Class name: usb;<br>Method or attribute name: function requestRight(deviceName: string): Promise\<boolean>;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 143|Deprecated version changed|Class name: usb;<br>Method or attribute name: function claimInterface(pipe: USBDevicePipe, iface: USBInterface, force?: boolean): number;<br>Old version: |Class name: usb;<br>Method or attribute name: function claimInterface(pipe: USBDevicePipe, iface: USBInterface, force?: boolean): number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 144|Deprecated version changed|Class name: usb;<br>Method or attribute name: function releaseInterface(pipe: USBDevicePipe, iface: USBInterface): number;<br>Old version: |Class name: usb;<br>Method or attribute name: function releaseInterface(pipe: USBDevicePipe, iface: USBInterface): number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 145|Deprecated version changed|Class name: usb;<br>Method or attribute name: function setConfiguration(pipe: USBDevicePipe, config: USBConfig): number;<br>Old version: |Class name: usb;<br>Method or attribute name: function setConfiguration(pipe: USBDevicePipe, config: USBConfig): number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 146|Deprecated version changed|Class name: usb;<br>Method or attribute name: function setInterface(pipe: USBDevicePipe, iface: USBInterface): number;<br>Old version: |Class name: usb;<br>Method or attribute name: function setInterface(pipe: USBDevicePipe, iface: USBInterface): number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 147|Deprecated version changed|Class name: usb;<br>Method or attribute name: function getRawDescriptor(pipe: USBDevicePipe): Uint8Array;<br>Old version: |Class name: usb;<br>Method or attribute name: function getRawDescriptor(pipe: USBDevicePipe): Uint8Array;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 148|Deprecated version changed|Class name: usb;<br>Method or attribute name: function getFileDescriptor(pipe: USBDevicePipe): number;<br>Old version: |Class name: usb;<br>Method or attribute name: function getFileDescriptor(pipe: USBDevicePipe): number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 149|Deprecated version changed|Class name: usb;<br>Method or attribute name: function controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout?: number): Promise\<number>;<br>Old version: |Class name: usb;<br>Method or attribute name: function controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout?: number): Promise\<number>;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 150|Deprecated version changed|Class name: usb;<br>Method or attribute name: function bulkTransfer(pipe: USBDevicePipe, endpoint: USBEndpoint, buffer: Uint8Array,<br><br> timeout?: number): Promise\<number>;<br>Old version: |Class name: usb;<br>Method or attribute name: function bulkTransfer(pipe: USBDevicePipe, endpoint: USBEndpoint, buffer: Uint8Array,<br><br> timeout?: number): Promise\<number>;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 151|Deprecated version changed|Class name: usb;<br>Method or attribute name: function closePipe(pipe: USBDevicePipe): number;<br>Old version: |Class name: usb;<br>Method or attribute name: function closePipe(pipe: USBDevicePipe): number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 152|Deprecated version changed|Class name: USBEndpoint;<br>Method or attribute name: interface USBEndpoint<br>Old version: |Class name: USBEndpoint;<br>Method or attribute name: interface USBEndpoint<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 153|Deprecated version changed|Class name: USBEndpoint;<br>Method or attribute name: address: number;<br>Old version: |Class name: USBEndpoint;<br>Method or attribute name: address: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 154|Deprecated version changed|Class name: USBEndpoint;<br>Method or attribute name: attributes: number;<br>Old version: |Class name: USBEndpoint;<br>Method or attribute name: attributes: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 155|Deprecated version changed|Class name: USBConfig;<br>Method or attribute name: attributes: number;<br>Old version: |Class name: USBConfig;<br>Method or attribute name: attributes: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 156|Deprecated version changed|Class name: USBEndpoint;<br>Method or attribute name: interval: number;<br>Old version: |Class name: USBEndpoint;<br>Method or attribute name: interval: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 157|Deprecated version changed|Class name: USBEndpoint;<br>Method or attribute name: maxPacketSize: number;<br>Old version: |Class name: USBEndpoint;<br>Method or attribute name: maxPacketSize: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 158|Deprecated version changed|Class name: USBEndpoint;<br>Method or attribute name: direction: USBRequestDirection;<br>Old version: |Class name: USBEndpoint;<br>Method or attribute name: direction: USBRequestDirection;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 159|Deprecated version changed|Class name: USBEndpoint;<br>Method or attribute name: number: number;<br>Old version: |Class name: USBEndpoint;<br>Method or attribute name: number: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 160|Deprecated version changed|Class name: USBEndpoint;<br>Method or attribute name: type: number;<br>Old version: |Class name: USBEndpoint;<br>Method or attribute name: type: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 161|Deprecated version changed|Class name: USBEndpoint;<br>Method or attribute name: interfaceId: number;<br>Old version: |Class name: USBEndpoint;<br>Method or attribute name: interfaceId: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 162|Deprecated version changed|Class name: USBInterface;<br>Method or attribute name: interface USBInterface<br>Old version: |Class name: USBInterface;<br>Method or attribute name: interface USBInterface<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 163|Deprecated version changed|Class name: USBInterface;<br>Method or attribute name: id: number;<br>Old version: |Class name: USBInterface;<br>Method or attribute name: id: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 164|Deprecated version changed|Class name: USBConfig;<br>Method or attribute name: id: number;<br>Old version: |Class name: USBConfig;<br>Method or attribute name: id: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 165|Deprecated version changed|Class name: USBInterface;<br>Method or attribute name: protocol: number;<br>Old version: |Class name: USBInterface;<br>Method or attribute name: protocol: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 166|Deprecated version changed|Class name: USBDevice;<br>Method or attribute name: protocol: number;<br>Old version: |Class name: USBDevice;<br>Method or attribute name: protocol: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 167|Deprecated version changed|Class name: USBInterface;<br>Method or attribute name: clazz: number;<br>Old version: |Class name: USBInterface;<br>Method or attribute name: clazz: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 168|Deprecated version changed|Class name: USBDevice;<br>Method or attribute name: clazz: number;<br>Old version: |Class name: USBDevice;<br>Method or attribute name: clazz: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 169|Deprecated version changed|Class name: USBInterface;<br>Method or attribute name: subClass: number;<br>Old version: |Class name: USBInterface;<br>Method or attribute name: subClass: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 170|Deprecated version changed|Class name: USBDevice;<br>Method or attribute name: subClass: number;<br>Old version: |Class name: USBDevice;<br>Method or attribute name: subClass: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 171|Deprecated version changed|Class name: USBInterface;<br>Method or attribute name: alternateSetting: number;<br>Old version: |Class name: USBInterface;<br>Method or attribute name: alternateSetting: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 172|Deprecated version changed|Class name: USBInterface;<br>Method or attribute name: name: string;<br>Old version: |Class name: USBInterface;<br>Method or attribute name: name: string;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 173|Deprecated version changed|Class name: USBConfig;<br>Method or attribute name: name: string;<br>Old version: |Class name: USBConfig;<br>Method or attribute name: name: string;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 174|Deprecated version changed|Class name: USBDevice;<br>Method or attribute name: name: string;<br>Old version: |Class name: USBDevice;<br>Method or attribute name: name: string;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 175|Deprecated version changed|Class name: USBInterface;<br>Method or attribute name: endpoints: Array\<USBEndpoint>;<br>Old version: |Class name: USBInterface;<br>Method or attribute name: endpoints: Array\<USBEndpoint>;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 176|Deprecated version changed|Class name: USBConfig;<br>Method or attribute name: interface USBConfig<br>Old version: |Class name: USBConfig;<br>Method or attribute name: interface USBConfig<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 177|Deprecated version changed|Class name: USBConfig;<br>Method or attribute name: maxPower: number;<br>Old version: |Class name: USBConfig;<br>Method or attribute name: maxPower: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 178|Deprecated version changed|Class name: USBConfig;<br>Method or attribute name: isRemoteWakeup: boolean;<br>Old version: |Class name: USBConfig;<br>Method or attribute name: isRemoteWakeup: boolean;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 179|Deprecated version changed|Class name: USBConfig;<br>Method or attribute name: isSelfPowered: boolean;<br>Old version: |Class name: USBConfig;<br>Method or attribute name: isSelfPowered: boolean;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 180|Deprecated version changed|Class name: USBConfig;<br>Method or attribute name: interfaces: Array\<USBInterface>;<br>Old version: |Class name: USBConfig;<br>Method or attribute name: interfaces: Array\<USBInterface>;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 181|Deprecated version changed|Class name: USBDevice;<br>Method or attribute name: interface USBDevice<br>Old version: |Class name: USBDevice;<br>Method or attribute name: interface USBDevice<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 182|Deprecated version changed|Class name: USBDevice;<br>Method or attribute name: busNum: number;<br>Old version: |Class name: USBDevice;<br>Method or attribute name: busNum: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 183|Deprecated version changed|Class name: USBDevicePipe;<br>Method or attribute name: busNum: number;<br>Old version: |Class name: USBDevicePipe;<br>Method or attribute name: busNum: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 184|Deprecated version changed|Class name: USBDevice;<br>Method or attribute name: devAddress: number;<br>Old version: |Class name: USBDevice;<br>Method or attribute name: devAddress: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 185|Deprecated version changed|Class name: USBDevicePipe;<br>Method or attribute name: devAddress: number;<br>Old version: |Class name: USBDevicePipe;<br>Method or attribute name: devAddress: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 186|Deprecated version changed|Class name: USBDevice;<br>Method or attribute name: serial: string;<br>Old version: |Class name: USBDevice;<br>Method or attribute name: serial: string;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 187|Deprecated version changed|Class name: USBDevice;<br>Method or attribute name: manufacturerName: string;<br>Old version: |Class name: USBDevice;<br>Method or attribute name: manufacturerName: string;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 188|Deprecated version changed|Class name: USBDevice;<br>Method or attribute name: productName: string;<br>Old version: |Class name: USBDevice;<br>Method or attribute name: productName: string;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 189|Deprecated version changed|Class name: USBDevice;<br>Method or attribute name: version: string;<br>Old version: |Class name: USBDevice;<br>Method or attribute name: version: string;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 190|Deprecated version changed|Class name: USBDevice;<br>Method or attribute name: vendorId: number;<br>Old version: |Class name: USBDevice;<br>Method or attribute name: vendorId: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 191|Deprecated version changed|Class name: USBDevice;<br>Method or attribute name: productId: number;<br>Old version: |Class name: USBDevice;<br>Method or attribute name: productId: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 192|Deprecated version changed|Class name: USBDevice;<br>Method or attribute name: configs: Array\<USBConfig>;<br>Old version: |Class name: USBDevice;<br>Method or attribute name: configs: Array\<USBConfig>;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 193|Deprecated version changed|Class name: USBDevicePipe;<br>Method or attribute name: interface USBDevicePipe<br>Old version: |Class name: USBDevicePipe;<br>Method or attribute name: interface USBDevicePipe<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 194|Deprecated version changed|Class name: USBControlParams;<br>Method or attribute name: interface USBControlParams<br>Old version: |Class name: USBControlParams;<br>Method or attribute name: interface USBControlParams<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 195|Deprecated version changed|Class name: USBControlParams;<br>Method or attribute name: request: number;<br>Old version: |Class name: USBControlParams;<br>Method or attribute name: request: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 196|Deprecated version changed|Class name: USBControlParams;<br>Method or attribute name: target: USBRequestTargetType;<br>Old version: |Class name: USBControlParams;<br>Method or attribute name: target: USBRequestTargetType;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 197|Deprecated version changed|Class name: USBControlParams;<br>Method or attribute name: reqType: USBControlRequestType;<br>Old version: |Class name: USBControlParams;<br>Method or attribute name: reqType: USBControlRequestType;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 198|Deprecated version changed|Class name: USBControlParams;<br>Method or attribute name: value: number;<br>Old version: |Class name: USBControlParams;<br>Method or attribute name: value: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 199|Deprecated version changed|Class name: USBControlParams;<br>Method or attribute name: index: number;<br>Old version: |Class name: USBControlParams;<br>Method or attribute name: index: number;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 200|Deprecated version changed|Class name: USBControlParams;<br>Method or attribute name: data: Uint8Array;<br>Old version: |Class name: USBControlParams;<br>Method or attribute name: data: Uint8Array;<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 201|Deprecated version changed|Class name: USBRequestTargetType;<br>Method or attribute name: export enum USBRequestTargetType<br>Old version: |Class name: USBRequestTargetType;<br>Method or attribute name: export enum USBRequestTargetType<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 202|Deprecated version changed|Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_DEVICE = 0<br>Old version: |Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_DEVICE = 0<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 203|Deprecated version changed|Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_INTERFACE = 1<br>Old version: |Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_INTERFACE = 1<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 204|Deprecated version changed|Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_ENDPOINT = 2<br>Old version: |Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_ENDPOINT = 2<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 205|Deprecated version changed|Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_OTHER = 3<br>Old version: |Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_OTHER = 3<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 206|Deprecated version changed|Class name: USBControlRequestType;<br>Method or attribute name: export enum USBControlRequestType<br>Old version: |Class name: USBControlRequestType;<br>Method or attribute name: export enum USBControlRequestType<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 207|Deprecated version changed|Class name: USBControlRequestType;<br>Method or attribute name: USB_REQUEST_TYPE_STANDARD = 0<br>Old version: |Class name: USBControlRequestType;<br>Method or attribute name: USB_REQUEST_TYPE_STANDARD = 0<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 208|Deprecated version changed|Class name: USBControlRequestType;<br>Method or attribute name: USB_REQUEST_TYPE_CLASS = 1<br>Old version: |Class name: USBControlRequestType;<br>Method or attribute name: USB_REQUEST_TYPE_CLASS = 1<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 209|Deprecated version changed|Class name: USBControlRequestType;<br>Method or attribute name: USB_REQUEST_TYPE_VENDOR = 2<br>Old version: |Class name: USBControlRequestType;<br>Method or attribute name: USB_REQUEST_TYPE_VENDOR = 2<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 210|Deprecated version changed|Class name: USBRequestDirection;<br>Method or attribute name: export enum USBRequestDirection<br>Old version: |Class name: USBRequestDirection;<br>Method or attribute name: export enum USBRequestDirection<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 211|Deprecated version changed|Class name: USBRequestDirection;<br>Method or attribute name: USB_REQUEST_DIR_TO_DEVICE = 0<br>Old version: |Class name: USBRequestDirection;<br>Method or attribute name: USB_REQUEST_DIR_TO_DEVICE = 0<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 212|Deprecated version changed|Class name: USBRequestDirection;<br>Method or attribute name: USB_REQUEST_DIR_FROM_DEVICE = 0x80<br>Old version: |Class name: USBRequestDirection;<br>Method or attribute name: USB_REQUEST_DIR_FROM_DEVICE = 0x80<br>New version: 9<br>Substitute API: ohos.usbManager|@ohos.usb.d.ts| 213|Function changed|Class name: usb;<br>Method or attribute name: function controlTransfer(pipe: USBDevicePipe, contrlparam: USBControlParams, timeout?: number): Promise\<number>;|Class name: usb;<br>Method or attribute name: function controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout?: number): Promise\<number>;|@ohos.usb.d.ts| 214|Function changed|Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_INTERFACE|Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_INTERFACE = 1|@ohos.usb.d.ts| 215|Function changed|Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_ENDPOINT|Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_ENDPOINT = 2|@ohos.usb.d.ts| 216|Function changed|Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_OTHER|Class name: USBRequestTargetType;<br>Method or attribute name: USB_REQUEST_TARGET_OTHER = 3|@ohos.usb.d.ts| 217|Function changed|Class name: USBControlRequestType;<br>Method or attribute name: USB_REQUEST_TYPE_CLASS|Class name: USBControlRequestType;<br>Method or attribute name: USB_REQUEST_TYPE_CLASS = 1|@ohos.usb.d.ts| 218|Function changed|Class name: USBControlRequestType;<br>Method or attribute name: USB_REQUEST_TYPE_VENDOR|Class name: USBControlRequestType;<br>Method or attribute name: USB_REQUEST_TYPE_VENDOR = 2|@ohos.usb.d.ts| 219