| Change Type | Old Version | New Version | d.ts File | | ---- | ------ | ------ | -------- | |Added|NA|Class name: USBPort;
Method or attribute name: id: number;|@ohos.usb.d.ts| |Added|NA|Class name: usb;
Method or attribute name: function usbFunctionsFromString(funcs: string): number;|@ohos.usb.d.ts| |Added|NA|Class name: usb;
Method or attribute name: function usbFunctionsToString(funcs: FunctionType): string;|@ohos.usb.d.ts| |Added|NA|Class name: usb;
Method or attribute name: function setCurrentFunctions(funcs: FunctionType): Promise\;|@ohos.usb.d.ts| |Added|NA|Class name: usb;
Method or attribute name: function getCurrentFunctions(): FunctionType;|@ohos.usb.d.ts| |Added|NA|Class name: usb;
Method or attribute name: function getPorts(): Array\;|@ohos.usb.d.ts| |Added|NA|Class name: usb;
Method or attribute name: function getSupportedModes(portId: number): PortModeType;|@ohos.usb.d.ts| |Added|NA|Class name: usb;
Method or attribute name: function setPortRoles(portId: number, powerRole: PowerRoleType, dataRole: DataRoleType): Promise\;|@ohos.usb.d.ts| |Added|NA|Class name: PowerRoleType;
Method or attribute name: NONE = 0|@ohos.usb.d.ts| |Added|NA|Class name: DataRoleType;
Method or attribute name: NONE = 0|@ohos.usb.d.ts| |Added|NA|Class name: PortModeType;
Method or attribute name: NONE = 0|@ohos.usb.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: NONE = 0|@ohos.usb.d.ts| |Added|NA|Class name: PowerRoleType;
Method or attribute name: SOURCE = 1|@ohos.usb.d.ts| |Added|NA|Class name: PowerRoleType;
Method or attribute name: SINK = 2|@ohos.usb.d.ts| |Added|NA|Class name: DataRoleType;
Method or attribute name: HOST = 1|@ohos.usb.d.ts| |Added|NA|Class name: DataRoleType;
Method or attribute name: DEVICE = 2|@ohos.usb.d.ts| |Added|NA|Class name: PortModeType;
Method or attribute name: UFP = 1|@ohos.usb.d.ts| |Added|NA|Class name: PortModeType;
Method or attribute name: DFP = 2|@ohos.usb.d.ts| |Added|NA|Class name: PortModeType;
Method or attribute name: DRP = 3|@ohos.usb.d.ts| |Added|NA|Class name: PortModeType;
Method or attribute name: NUM_MODES = 4|@ohos.usb.d.ts| |Added|NA|Class name: USBPortStatus;
Method or attribute name: currentMode: number;|@ohos.usb.d.ts| |Added|NA|Class name: USBPortStatus;
Method or attribute name: currentPowerRole: number;|@ohos.usb.d.ts| |Added|NA|Class name: USBPortStatus;
Method or attribute name: currentDataRole: number;|@ohos.usb.d.ts| |Added|NA|Class name: USBPort;
Method or attribute name: supportedModes: PortModeType;|@ohos.usb.d.ts| |Added|NA|Class name: USBPort;
Method or attribute name: status: USBPortStatus;|@ohos.usb.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: ACM = 1|@ohos.usb.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: ECM = 2|@ohos.usb.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: HDC = 4|@ohos.usb.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: MTP = 8|@ohos.usb.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: PTP = 16|@ohos.usb.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: RNDIS = 32|@ohos.usb.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: MIDI = 64|@ohos.usb.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: AUDIO_SOURCE = 128|@ohos.usb.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: NCM = 256|@ohos.usb.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function getDevices(): Array\>;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function connectDevice(device: USBDevice): Readonly\;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function hasRight(deviceName: string): boolean;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function requestRight(deviceName: string): Promise\;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function removeRight(deviceName: string): boolean;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function addRight(bundleName: string, deviceName: string): boolean;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function usbFunctionsFromString(funcs: string): number;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function usbFunctionsToString(funcs: FunctionType): string;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function setCurrentFunctions(funcs: FunctionType): Promise\;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function getCurrentFunctions(): FunctionType;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function getPorts(): Array\;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function getSupportedModes(portId: number): PortModeType;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function setPortRoles(portId: number, powerRole: PowerRoleType, dataRole: DataRoleType): Promise\;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function claimInterface(pipe: USBDevicePipe, iface: USBInterface, force?: boolean): number;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function releaseInterface(pipe: USBDevicePipe, iface: USBInterface): number;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function setConfiguration(pipe: USBDevicePipe, config: USBConfiguration): number;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function setInterface(pipe: USBDevicePipe, iface: USBInterface): number;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function getRawDescriptor(pipe: USBDevicePipe): Uint8Array;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function getFileDescriptor(pipe: USBDevicePipe): number;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout?: number): Promise\;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function bulkTransfer(pipe: USBDevicePipe, endpoint: USBEndpoint, buffer: Uint8Array,

timeout?: number): Promise\;|@ohos.usbManager.d.ts| |Added|NA|Class name: usbManager;
Method or attribute name: function closePipe(pipe: USBDevicePipe): number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBEndpoint;
Method or attribute name: address: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBEndpoint;
Method or attribute name: attributes: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBConfiguration;
Method or attribute name: attributes: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBEndpoint;
Method or attribute name: interval: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBEndpoint;
Method or attribute name: maxPacketSize: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBEndpoint;
Method or attribute name: direction: USBRequestDirection;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBEndpoint;
Method or attribute name: number: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBEndpoint;
Method or attribute name: type: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBEndpoint;
Method or attribute name: interfaceId: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBInterface;
Method or attribute name: id: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBConfiguration;
Method or attribute name: id: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBPort;
Method or attribute name: id: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBInterface;
Method or attribute name: protocol: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevice;
Method or attribute name: protocol: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBInterface;
Method or attribute name: clazz: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevice;
Method or attribute name: clazz: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBInterface;
Method or attribute name: subClass: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevice;
Method or attribute name: subClass: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBInterface;
Method or attribute name: alternateSetting: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBInterface;
Method or attribute name: name: string;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBConfiguration;
Method or attribute name: name: string;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevice;
Method or attribute name: name: string;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBInterface;
Method or attribute name: endpoints: Array\;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBConfiguration;
Method or attribute name: maxPower: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBConfiguration;
Method or attribute name: isRemoteWakeup: boolean;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBConfiguration;
Method or attribute name: isSelfPowered: boolean;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBConfiguration;
Method or attribute name: interfaces: Array\;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevice;
Method or attribute name: busNum: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevicePipe;
Method or attribute name: busNum: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevice;
Method or attribute name: devAddress: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevicePipe;
Method or attribute name: devAddress: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevice;
Method or attribute name: serial: string;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevice;
Method or attribute name: manufacturerName: string;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevice;
Method or attribute name: productName: string;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevice;
Method or attribute name: version: string;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevice;
Method or attribute name: vendorId: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevice;
Method or attribute name: productId: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBDevice;
Method or attribute name: configs: Array\;|@ohos.usbManager.d.ts| |Added|NA|Class name: PowerRoleType;
Method or attribute name: NONE = 0|@ohos.usbManager.d.ts| |Added|NA|Class name: DataRoleType;
Method or attribute name: NONE = 0|@ohos.usbManager.d.ts| |Added|NA|Class name: PortModeType;
Method or attribute name: NONE = 0|@ohos.usbManager.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: NONE = 0|@ohos.usbManager.d.ts| |Added|NA|Class name: PowerRoleType;
Method or attribute name: SOURCE = 1|@ohos.usbManager.d.ts| |Added|NA|Class name: PowerRoleType;
Method or attribute name: SINK = 2|@ohos.usbManager.d.ts| |Added|NA|Class name: DataRoleType;
Method or attribute name: HOST = 1|@ohos.usbManager.d.ts| |Added|NA|Class name: DataRoleType;
Method or attribute name: DEVICE = 2|@ohos.usbManager.d.ts| |Added|NA|Class name: PortModeType;
Method or attribute name: UFP = 1|@ohos.usbManager.d.ts| |Added|NA|Class name: PortModeType;
Method or attribute name: DFP = 2|@ohos.usbManager.d.ts| |Added|NA|Class name: PortModeType;
Method or attribute name: DRP = 3|@ohos.usbManager.d.ts| |Added|NA|Class name: PortModeType;
Method or attribute name: NUM_MODES = 4|@ohos.usbManager.d.ts| |Added|NA|Class name: USBPortStatus;
Method or attribute name: currentMode: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBPortStatus;
Method or attribute name: currentPowerRole: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBPortStatus;
Method or attribute name: currentDataRole: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBPort;
Method or attribute name: supportedModes: PortModeType;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBPort;
Method or attribute name: status: USBPortStatus;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBControlParams;
Method or attribute name: request: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBControlParams;
Method or attribute name: target: USBRequestTargetType;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBControlParams;
Method or attribute name: reqType: USBControlRequestType;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBControlParams;
Method or attribute name: value: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBControlParams;
Method or attribute name: index: number;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBControlParams;
Method or attribute name: data: Uint8Array;|@ohos.usbManager.d.ts| |Added|NA|Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_DEVICE = 0|@ohos.usbManager.d.ts| |Added|NA|Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_INTERFACE = 1|@ohos.usbManager.d.ts| |Added|NA|Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_ENDPOINT = 2|@ohos.usbManager.d.ts| |Added|NA|Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_OTHER = 3|@ohos.usbManager.d.ts| |Added|NA|Class name: USBControlRequestType;
Method or attribute name: USB_REQUEST_TYPE_STANDARD = 0|@ohos.usbManager.d.ts| |Added|NA|Class name: USBControlRequestType;
Method or attribute name: USB_REQUEST_TYPE_CLASS = 1|@ohos.usbManager.d.ts| |Added|NA|Class name: USBControlRequestType;
Method or attribute name: USB_REQUEST_TYPE_VENDOR = 2|@ohos.usbManager.d.ts| |Added|NA|Class name: USBRequestDirection;
Method or attribute name: USB_REQUEST_DIR_TO_DEVICE = 0|@ohos.usbManager.d.ts| |Added|NA|Class name: USBRequestDirection;
Method or attribute name: USB_REQUEST_DIR_FROM_DEVICE = 0x80|@ohos.usbManager.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: ACM = 1|@ohos.usbManager.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: ECM = 2|@ohos.usbManager.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: HDC = 4|@ohos.usbManager.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: MTP = 8|@ohos.usbManager.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: PTP = 16|@ohos.usbManager.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: RNDIS = 32|@ohos.usbManager.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: MIDI = 64|@ohos.usbManager.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: AUDIO_SOURCE = 128|@ohos.usbManager.d.ts| |Added|NA|Class name: FunctionType;
Method or attribute name: NCM = 256|@ohos.usbManager.d.ts| |Deprecated version changed|Class name: usb;
Method or attribute name: declare usb
Old version: |Class name: usb;
Method or attribute name: declare usb
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: usb;
Method or attribute name: function getDevices(): Array\>;
Old version: |Class name: usb;
Method or attribute name: function getDevices(): Array\>;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: usb;
Method or attribute name: function connectDevice(device: USBDevice): Readonly\;
Old version: |Class name: usb;
Method or attribute name: function connectDevice(device: USBDevice): Readonly\;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: usb;
Method or attribute name: function hasRight(deviceName: string): boolean;
Old version: |Class name: usb;
Method or attribute name: function hasRight(deviceName: string): boolean;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: usb;
Method or attribute name: function requestRight(deviceName: string): Promise\;
Old version: |Class name: usb;
Method or attribute name: function requestRight(deviceName: string): Promise\;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: usb;
Method or attribute name: function claimInterface(pipe: USBDevicePipe, iface: USBInterface, force?: boolean): number;
Old version: |Class name: usb;
Method or attribute name: function claimInterface(pipe: USBDevicePipe, iface: USBInterface, force?: boolean): number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: usb;
Method or attribute name: function releaseInterface(pipe: USBDevicePipe, iface: USBInterface): number;
Old version: |Class name: usb;
Method or attribute name: function releaseInterface(pipe: USBDevicePipe, iface: USBInterface): number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: usb;
Method or attribute name: function setConfiguration(pipe: USBDevicePipe, config: USBConfig): number;
Old version: |Class name: usb;
Method or attribute name: function setConfiguration(pipe: USBDevicePipe, config: USBConfig): number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: usb;
Method or attribute name: function setInterface(pipe: USBDevicePipe, iface: USBInterface): number;
Old version: |Class name: usb;
Method or attribute name: function setInterface(pipe: USBDevicePipe, iface: USBInterface): number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: usb;
Method or attribute name: function getRawDescriptor(pipe: USBDevicePipe): Uint8Array;
Old version: |Class name: usb;
Method or attribute name: function getRawDescriptor(pipe: USBDevicePipe): Uint8Array;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: usb;
Method or attribute name: function getFileDescriptor(pipe: USBDevicePipe): number;
Old version: |Class name: usb;
Method or attribute name: function getFileDescriptor(pipe: USBDevicePipe): number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: usb;
Method or attribute name: function controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout?: number): Promise\;
Old version: |Class name: usb;
Method or attribute name: function controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout?: number): Promise\;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: usb;
Method or attribute name: function bulkTransfer(pipe: USBDevicePipe, endpoint: USBEndpoint, buffer: Uint8Array,

timeout?: number): Promise\;
Old version: |Class name: usb;
Method or attribute name: function bulkTransfer(pipe: USBDevicePipe, endpoint: USBEndpoint, buffer: Uint8Array,

timeout?: number): Promise\;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: usb;
Method or attribute name: function closePipe(pipe: USBDevicePipe): number;
Old version: |Class name: usb;
Method or attribute name: function closePipe(pipe: USBDevicePipe): number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBEndpoint;
Method or attribute name: interface USBEndpoint
Old version: |Class name: USBEndpoint;
Method or attribute name: interface USBEndpoint
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBEndpoint;
Method or attribute name: address: number;
Old version: |Class name: USBEndpoint;
Method or attribute name: address: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBEndpoint;
Method or attribute name: attributes: number;
Old version: |Class name: USBEndpoint;
Method or attribute name: attributes: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBConfig;
Method or attribute name: attributes: number;
Old version: |Class name: USBConfig;
Method or attribute name: attributes: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBEndpoint;
Method or attribute name: interval: number;
Old version: |Class name: USBEndpoint;
Method or attribute name: interval: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBEndpoint;
Method or attribute name: maxPacketSize: number;
Old version: |Class name: USBEndpoint;
Method or attribute name: maxPacketSize: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBEndpoint;
Method or attribute name: direction: USBRequestDirection;
Old version: |Class name: USBEndpoint;
Method or attribute name: direction: USBRequestDirection;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBEndpoint;
Method or attribute name: number: number;
Old version: |Class name: USBEndpoint;
Method or attribute name: number: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBEndpoint;
Method or attribute name: type: number;
Old version: |Class name: USBEndpoint;
Method or attribute name: type: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBEndpoint;
Method or attribute name: interfaceId: number;
Old version: |Class name: USBEndpoint;
Method or attribute name: interfaceId: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBInterface;
Method or attribute name: interface USBInterface
Old version: |Class name: USBInterface;
Method or attribute name: interface USBInterface
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBInterface;
Method or attribute name: id: number;
Old version: |Class name: USBInterface;
Method or attribute name: id: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBConfig;
Method or attribute name: id: number;
Old version: |Class name: USBConfig;
Method or attribute name: id: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBInterface;
Method or attribute name: protocol: number;
Old version: |Class name: USBInterface;
Method or attribute name: protocol: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevice;
Method or attribute name: protocol: number;
Old version: |Class name: USBDevice;
Method or attribute name: protocol: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBInterface;
Method or attribute name: clazz: number;
Old version: |Class name: USBInterface;
Method or attribute name: clazz: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevice;
Method or attribute name: clazz: number;
Old version: |Class name: USBDevice;
Method or attribute name: clazz: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBInterface;
Method or attribute name: subClass: number;
Old version: |Class name: USBInterface;
Method or attribute name: subClass: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevice;
Method or attribute name: subClass: number;
Old version: |Class name: USBDevice;
Method or attribute name: subClass: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBInterface;
Method or attribute name: alternateSetting: number;
Old version: |Class name: USBInterface;
Method or attribute name: alternateSetting: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBInterface;
Method or attribute name: name: string;
Old version: |Class name: USBInterface;
Method or attribute name: name: string;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBConfig;
Method or attribute name: name: string;
Old version: |Class name: USBConfig;
Method or attribute name: name: string;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevice;
Method or attribute name: name: string;
Old version: |Class name: USBDevice;
Method or attribute name: name: string;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBInterface;
Method or attribute name: endpoints: Array\;
Old version: |Class name: USBInterface;
Method or attribute name: endpoints: Array\;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBConfig;
Method or attribute name: interface USBConfig
Old version: |Class name: USBConfig;
Method or attribute name: interface USBConfig
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBConfig;
Method or attribute name: maxPower: number;
Old version: |Class name: USBConfig;
Method or attribute name: maxPower: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBConfig;
Method or attribute name: isRemoteWakeup: boolean;
Old version: |Class name: USBConfig;
Method or attribute name: isRemoteWakeup: boolean;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBConfig;
Method or attribute name: isSelfPowered: boolean;
Old version: |Class name: USBConfig;
Method or attribute name: isSelfPowered: boolean;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBConfig;
Method or attribute name: interfaces: Array\;
Old version: |Class name: USBConfig;
Method or attribute name: interfaces: Array\;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevice;
Method or attribute name: interface USBDevice
Old version: |Class name: USBDevice;
Method or attribute name: interface USBDevice
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevice;
Method or attribute name: busNum: number;
Old version: |Class name: USBDevice;
Method or attribute name: busNum: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevicePipe;
Method or attribute name: busNum: number;
Old version: |Class name: USBDevicePipe;
Method or attribute name: busNum: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevice;
Method or attribute name: devAddress: number;
Old version: |Class name: USBDevice;
Method or attribute name: devAddress: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevicePipe;
Method or attribute name: devAddress: number;
Old version: |Class name: USBDevicePipe;
Method or attribute name: devAddress: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevice;
Method or attribute name: serial: string;
Old version: |Class name: USBDevice;
Method or attribute name: serial: string;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevice;
Method or attribute name: manufacturerName: string;
Old version: |Class name: USBDevice;
Method or attribute name: manufacturerName: string;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevice;
Method or attribute name: productName: string;
Old version: |Class name: USBDevice;
Method or attribute name: productName: string;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevice;
Method or attribute name: version: string;
Old version: |Class name: USBDevice;
Method or attribute name: version: string;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevice;
Method or attribute name: vendorId: number;
Old version: |Class name: USBDevice;
Method or attribute name: vendorId: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevice;
Method or attribute name: productId: number;
Old version: |Class name: USBDevice;
Method or attribute name: productId: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevice;
Method or attribute name: configs: Array\;
Old version: |Class name: USBDevice;
Method or attribute name: configs: Array\;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBDevicePipe;
Method or attribute name: interface USBDevicePipe
Old version: |Class name: USBDevicePipe;
Method or attribute name: interface USBDevicePipe
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBControlParams;
Method or attribute name: interface USBControlParams
Old version: |Class name: USBControlParams;
Method or attribute name: interface USBControlParams
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBControlParams;
Method or attribute name: request: number;
Old version: |Class name: USBControlParams;
Method or attribute name: request: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBControlParams;
Method or attribute name: target: USBRequestTargetType;
Old version: |Class name: USBControlParams;
Method or attribute name: target: USBRequestTargetType;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBControlParams;
Method or attribute name: reqType: USBControlRequestType;
Old version: |Class name: USBControlParams;
Method or attribute name: reqType: USBControlRequestType;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBControlParams;
Method or attribute name: value: number;
Old version: |Class name: USBControlParams;
Method or attribute name: value: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBControlParams;
Method or attribute name: index: number;
Old version: |Class name: USBControlParams;
Method or attribute name: index: number;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBControlParams;
Method or attribute name: data: Uint8Array;
Old version: |Class name: USBControlParams;
Method or attribute name: data: Uint8Array;
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBRequestTargetType;
Method or attribute name: export enum USBRequestTargetType
Old version: |Class name: USBRequestTargetType;
Method or attribute name: export enum USBRequestTargetType
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_DEVICE = 0
Old version: |Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_DEVICE = 0
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_INTERFACE = 1
Old version: |Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_INTERFACE = 1
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_ENDPOINT = 2
Old version: |Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_ENDPOINT = 2
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_OTHER = 3
Old version: |Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_OTHER = 3
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBControlRequestType;
Method or attribute name: export enum USBControlRequestType
Old version: |Class name: USBControlRequestType;
Method or attribute name: export enum USBControlRequestType
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBControlRequestType;
Method or attribute name: USB_REQUEST_TYPE_STANDARD = 0
Old version: |Class name: USBControlRequestType;
Method or attribute name: USB_REQUEST_TYPE_STANDARD = 0
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBControlRequestType;
Method or attribute name: USB_REQUEST_TYPE_CLASS = 1
Old version: |Class name: USBControlRequestType;
Method or attribute name: USB_REQUEST_TYPE_CLASS = 1
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBControlRequestType;
Method or attribute name: USB_REQUEST_TYPE_VENDOR = 2
Old version: |Class name: USBControlRequestType;
Method or attribute name: USB_REQUEST_TYPE_VENDOR = 2
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBRequestDirection;
Method or attribute name: export enum USBRequestDirection
Old version: |Class name: USBRequestDirection;
Method or attribute name: export enum USBRequestDirection
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBRequestDirection;
Method or attribute name: USB_REQUEST_DIR_TO_DEVICE = 0
Old version: |Class name: USBRequestDirection;
Method or attribute name: USB_REQUEST_DIR_TO_DEVICE = 0
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Deprecated version changed|Class name: USBRequestDirection;
Method or attribute name: USB_REQUEST_DIR_FROM_DEVICE = 0x80
Old version: |Class name: USBRequestDirection;
Method or attribute name: USB_REQUEST_DIR_FROM_DEVICE = 0x80
New version: 9
Substitute API: ohos.usbManager|@ohos.usb.d.ts| |Function changed|Class name: usb;
Method or attribute name: function controlTransfer(pipe: USBDevicePipe, contrlparam: USBControlParams, timeout?: number): Promise\;|Class name: usb;
Method or attribute name: function controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout?: number): Promise\;|@ohos.usb.d.ts| |Function changed|Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_INTERFACE|Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_INTERFACE = 1|@ohos.usb.d.ts| |Function changed|Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_ENDPOINT|Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_ENDPOINT = 2|@ohos.usb.d.ts| |Function changed|Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_OTHER|Class name: USBRequestTargetType;
Method or attribute name: USB_REQUEST_TARGET_OTHER = 3|@ohos.usb.d.ts| |Function changed|Class name: USBControlRequestType;
Method or attribute name: USB_REQUEST_TYPE_CLASS|Class name: USBControlRequestType;
Method or attribute name: USB_REQUEST_TYPE_CLASS = 1|@ohos.usb.d.ts| |Function changed|Class name: USBControlRequestType;
Method or attribute name: USB_REQUEST_TYPE_VENDOR|Class name: USBControlRequestType;
Method or attribute name: USB_REQUEST_TYPE_VENDOR = 2|@ohos.usb.d.ts|