harmony 鸿蒙js-apidiff-usb

  • 2023-06-24
  • 浏览 (350)

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<boolean>;
@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<USBPort>;
@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<boolean>;
@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<Readonly<USBDevice>>;
@ohos.usbManager.d.ts
Added NA Class name: usbManager;
Method or attribute name: function connectDevice(device: USBDevice): Readonly<USBDevicePipe>;
@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<boolean>;
@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<void>;
@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<USBPort>;
@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<void>;
@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<number>;
@ohos.usbManager.d.ts
Added NA Class name: usbManager;
Method or attribute name: function bulkTransfer(pipe: USBDevicePipe, endpoint: USBEndpoint, buffer: Uint8Array,

timeout?: number): Promise<number>;
@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<USBEndpoint>;
@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<USBInterface>;
@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<USBConfiguration>;
@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<Readonly<USBDevice>>;
Old version:
Class name: usb;
Method or attribute name: function getDevices(): Array<Readonly<USBDevice>>;
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<USBDevicePipe>;
Old version:
Class name: usb;
Method or attribute name: function connectDevice(device: USBDevice): Readonly<USBDevicePipe>;
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<boolean>;
Old version:
Class name: usb;
Method or attribute name: function requestRight(deviceName: string): Promise<boolean>;
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<number>;
Old version:
Class name: usb;
Method or attribute name: function controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout?: number): Promise<number>;
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<number>;
Old version:
Class name: usb;
Method or attribute name: function bulkTransfer(pipe: USBDevicePipe, endpoint: USBEndpoint, buffer: Uint8Array,

timeout?: number): Promise<number>;
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<USBEndpoint>;
Old version:
Class name: USBInterface;
Method or attribute name: endpoints: Array<USBEndpoint>;
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<USBInterface>;
Old version:
Class name: USBConfig;
Method or attribute name: interfaces: Array<USBInterface>;
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<USBConfig>;
Old version:
Class name: USBDevice;
Method or attribute name: configs: Array<USBConfig>;
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<number>;
Class name: usb;
Method or attribute name: function controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout?: number): Promise<number>;
@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

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

0  赞