| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Method or attribute name: controlTransfer
Function name: function controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout?: number): Promise;|@ohos.usb.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getDevices|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: connectDevice|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: hasRight|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: requestRight|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: removeRight|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: addRight|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: usbFunctionsFromString|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: usbFunctionsToString|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: setCurrentFunctions|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getCurrentFunctions|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getPorts|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getSupportedModes|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: setPortRoles|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: claimInterface|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: releaseInterface|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: setConfiguration|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: setInterface|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getRawDescriptor|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: getFileDescriptor|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: controlTransfer|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: bulkTransfer|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: usbV9
Method or attribute name: closePipe|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBEndpoint|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: address|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: attributes|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: interval|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: maxPacketSize|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: direction|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: number|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: type|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBEndpoint
Method or attribute name: interfaceId|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBInterface|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: id|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: protocol|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: clazz|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: subClass|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: alternateSetting|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: name|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBInterface
Method or attribute name: endpoints|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBConfig|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: id|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: attributes|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: maxPower|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: name|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: isRemoteWakeup|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: isSelfPowered|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBConfig
Method or attribute name: interfaces|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevice|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: busNum|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: devAddress|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: serial|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: name|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: manufacturerName|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: productName|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: version|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: vendorId|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: productId|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: clazz|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: subClass|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: protocol|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevice
Method or attribute name: configs|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevicePipe|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevicePipe
Method or attribute name: busNum|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBDevicePipe
Method or attribute name: devAddress|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: PowerRoleType|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: PowerRoleType
Method or attribute name: NONE|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: PowerRoleType
Method or attribute name: SOURCE|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: PowerRoleType
Method or attribute name: SINK|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: DataRoleType|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: DataRoleType
Method or attribute name: NONE|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: DataRoleType
Method or attribute name: HOST|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: DataRoleType
Method or attribute name: DEVICE|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: PortModeType|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: NONE|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: UFP|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: DFP|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: DRP|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: PortModeType
Method or attribute name: NUM_MODES|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBPortStatus|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBPortStatus
Method or attribute name: currentMode|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBPortStatus
Method or attribute name: currentPowerRole|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBPortStatus
Method or attribute name: currentDataRole|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBPort|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBPort
Method or attribute name: id|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBPort
Method or attribute name: supportedModes|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBPort
Method or attribute name: status|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBControlParams|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: request|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: target|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: reqType|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: value|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: index|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBControlParams
Method or attribute name: data|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBRequestTargetType|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_DEVICE|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_INTERFACE|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_ENDPOINT|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_OTHER|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBControlRequestType|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBControlRequestType
Method or attribute name: USB_REQUEST_TYPE_STANDARD|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBControlRequestType
Method or attribute name: USB_REQUEST_TYPE_CLASS|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBControlRequestType
Method or attribute name: USB_REQUEST_TYPE_VENDOR|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBRequestDirection|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBRequestDirection
Method or attribute name: USB_REQUEST_DIR_TO_DEVICE|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: USBRequestDirection
Method or attribute name: USB_REQUEST_DIR_FROM_DEVICE|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: FunctionType|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: NONE|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: ACM|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: ECM|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: HDC|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: MTP|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: PTP|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: RNDIS|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: MIDI|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: AUDIO_SOURCE|@ohos.usbV9.d.ts|
|Added|NA|Module name: ohos.usbV9
Class name: FunctionType
Method or attribute name: NCM|@ohos.usbV9.d.ts|
|Deprecated version changed|Class name: usb
Deprecated version: N/A|Class name: usb
Deprecated version: 9
Substitute API: ohos.usbV9 |@ohos.usb.d.ts|