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