Change Type Old Version New Version d.ts File
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 Module name: ohos.usb
Class name: PowerRoleType
@ohos.usb.d.ts
Added NA Class name: PowerRoleType
Method or attribute name:
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: PowerRoleType
Method or attribute name: NONE = 0
@ohos.usb.d.ts
Added NA Class name: PowerRoleType
Method or attribute name: NONE = 0
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: PowerRoleType
Method or attribute name: SOURCE = 1
@ohos.usb.d.ts
Added NA Class name: PowerRoleType
Method or attribute name: SOURCE = 1
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: PowerRoleType
Method or attribute name: SINK = 2
@ohos.usb.d.ts
Added NA Class name: PowerRoleType
Method or attribute name: SINK = 2
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: DataRoleType
@ohos.usb.d.ts
Added NA Class name: DataRoleType
Method or attribute name:
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: DataRoleType
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 Module name: ohos.usb
Class name: DataRoleType
Method or attribute name: HOST = 1
@ohos.usb.d.ts
Added NA Class name: DataRoleType
Method or attribute name: HOST = 1
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: DataRoleType
Method or attribute name: DEVICE = 2
@ohos.usb.d.ts
Added NA Class name: DataRoleType
Method or attribute name: DEVICE = 2
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: PortModeType
@ohos.usb.d.ts
Added NA Class name: PortModeType
Method or attribute name:
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: PortModeType
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 Module name: ohos.usb
Class name: PortModeType
Method or attribute name: UFP = 1
@ohos.usb.d.ts
Added NA Class name: PortModeType
Method or attribute name: UFP = 1
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: PortModeType
Method or attribute name: DFP = 2
@ohos.usb.d.ts
Added NA Class name: PortModeType
Method or attribute name: DFP = 2
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: PortModeType
Method or attribute name: DRP = 3
@ohos.usb.d.ts
Added NA Class name: PortModeType
Method or attribute name: DRP = 3
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: PortModeType
Method or attribute name: NUM_MODES = 4
@ohos.usb.d.ts
Added NA Class name: PortModeType
Method or attribute name: NUM_MODES = 4
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: USBPortStatus
@ohos.usb.d.ts
Added NA Class name: USBPortStatus
Method or attribute name:
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: USBPortStatus
Method or attribute name: currentMode: number;
@ohos.usb.d.ts
Added NA Class name: USBPortStatus
Method or attribute name: currentMode: number;
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: USBPortStatus
Method or attribute name: currentPowerRole: number;
@ohos.usb.d.ts
Added NA Class name: USBPortStatus
Method or attribute name: currentPowerRole: number;
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: USBPortStatus
Method or attribute name: currentDataRole: number;
@ohos.usb.d.ts
Added NA Class name: USBPortStatus
Method or attribute name: currentDataRole: number;
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: USBPort
@ohos.usb.d.ts
Added NA Class name: USBPort
Method or attribute name:
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: USBPort
Method or attribute name: id: number;
@ohos.usb.d.ts
Added NA Class name: USBPort
Method or attribute name: id: number;
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: USBPort
Method or attribute name: supportedModes: PortModeType;
@ohos.usb.d.ts
Added NA Class name: USBPort
Method or attribute name: supportedModes: PortModeType;
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: USBPort
Method or attribute name: status: USBPortStatus;
@ohos.usb.d.ts
Added NA Class name: USBPort
Method or attribute name: status: USBPortStatus;
@ohos.usb.d.ts
Added NA Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_INTERFACE = 1
@ohos.usb.d.ts
Added NA Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_ENDPOINT = 2
@ohos.usb.d.ts
Added NA Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_OTHER = 3
@ohos.usb.d.ts
Added NA Class name: USBControlRequestType
Method or attribute name: USB_REQUEST_TYPE_CLASS = 1
@ohos.usb.d.ts
Added NA Class name: USBControlRequestType
Method or attribute name: USB_REQUEST_TYPE_VENDOR = 2
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: FunctionType
@ohos.usb.d.ts
Added NA Class name: FunctionType
Method or attribute name:
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: FunctionType
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 Module name: ohos.usb
Class name: FunctionType
Method or attribute name: ACM = 1
@ohos.usb.d.ts
Added NA Class name: FunctionType
Method or attribute name: ACM = 1
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: FunctionType
Method or attribute name: ECM = 2
@ohos.usb.d.ts
Added NA Class name: FunctionType
Method or attribute name: ECM = 2
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: FunctionType
Method or attribute name: HDC = 4
@ohos.usb.d.ts
Added NA Class name: FunctionType
Method or attribute name: HDC = 4
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: FunctionType
Method or attribute name: MTP = 8
@ohos.usb.d.ts
Added NA Class name: FunctionType
Method or attribute name: MTP = 8
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: FunctionType
Method or attribute name: PTP = 16
@ohos.usb.d.ts
Added NA Class name: FunctionType
Method or attribute name: PTP = 16
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: FunctionType
Method or attribute name: RNDIS = 32
@ohos.usb.d.ts
Added NA Class name: FunctionType
Method or attribute name: RNDIS = 32
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: FunctionType
Method or attribute name: MIDI = 64
@ohos.usb.d.ts
Added NA Class name: FunctionType
Method or attribute name: MIDI = 64
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: FunctionType
Method or attribute name: AUDIO_SOURCE = 128
@ohos.usb.d.ts
Added NA Class name: FunctionType
Method or attribute name: AUDIO_SOURCE = 128
@ohos.usb.d.ts
Added NA Module name: ohos.usb
Class name: FunctionType
Method or attribute name: NCM = 256
@ohos.usb.d.ts
Added NA Class name: FunctionType
Method or attribute name: NCM = 256
@ohos.usb.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function getDevices(): Array<Readonly<USBDevice>>;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function connectDevice(device: USBDevice): Readonly<USBDevicePipe>;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function hasRight(deviceName: string): boolean;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function requestRight(deviceName: string): Promise<boolean>;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function removeRight(deviceName: string): boolean;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function addRight(bundleName: string, deviceName: string): boolean;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function usbFunctionsFromString(funcs: string): number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function usbFunctionsToString(funcs: FunctionType): string;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function setCurrentFunctions(funcs: FunctionType): Promise<void>;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function getCurrentFunctions(): FunctionType;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function getPorts(): Array<USBPort>;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function getSupportedModes(portId: number): PortModeType;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function setPortRoles(portId: number, powerRole: PowerRoleType, dataRole: DataRoleType): Promise<void>;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function claimInterface(pipe: USBDevicePipe, iface: USBInterface, force?: boolean): number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function releaseInterface(pipe: USBDevicePipe, iface: USBInterface): number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function setConfiguration(pipe: USBDevicePipe, config: USBConfiguration): number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function setInterface(pipe: USBDevicePipe, iface: USBInterface): number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function getRawDescriptor(pipe: USBDevicePipe): Uint8Array;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function getFileDescriptor(pipe: USBDevicePipe): number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function controlTransfer(pipe: USBDevicePipe, controlparam: USBControlParams, timeout?: number): Promise<number>;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
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 Module name: ohos.usbManager
Class name: usbManager
Method or attribute name: function closePipe(pipe: USBDevicePipe): number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBEndpoint
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBEndpoint
Method or attribute name: address: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBEndpoint
Method or attribute name: attributes: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBEndpoint
Method or attribute name: interval: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBEndpoint
Method or attribute name: maxPacketSize: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBEndpoint
Method or attribute name: direction: USBRequestDirection;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBEndpoint
Method or attribute name: number: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBEndpoint
Method or attribute name: type: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBEndpoint
Method or attribute name: interfaceId: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBInterface
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBInterface
Method or attribute name: id: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBInterface
Method or attribute name: protocol: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBInterface
Method or attribute name: clazz: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBInterface
Method or attribute name: subClass: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBInterface
Method or attribute name: alternateSetting: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBInterface
Method or attribute name: name: string;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBInterface
Method or attribute name: endpoints: Array<USBEndpoint>;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBConfiguration
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBConfiguration
Method or attribute name: id: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBConfiguration
Method or attribute name: attributes: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBConfiguration
Method or attribute name: maxPower: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBConfiguration
Method or attribute name: name: string;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBConfiguration
Method or attribute name: isRemoteWakeup: boolean;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBConfiguration
Method or attribute name: isSelfPowered: boolean;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBConfiguration
Method or attribute name: interfaces: Array<USBInterface>;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevice
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevice
Method or attribute name: busNum: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevice
Method or attribute name: devAddress: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevice
Method or attribute name: serial: string;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevice
Method or attribute name: name: string;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevice
Method or attribute name: manufacturerName: string;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevice
Method or attribute name: productName: string;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevice
Method or attribute name: version: string;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevice
Method or attribute name: vendorId: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevice
Method or attribute name: productId: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevice
Method or attribute name: clazz: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevice
Method or attribute name: subClass: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevice
Method or attribute name: protocol: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevice
Method or attribute name: configs: Array<USBConfiguration>;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevicePipe
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevicePipe
Method or attribute name: busNum: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBDevicePipe
Method or attribute name: devAddress: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: PowerRoleType
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: PowerRoleType
Method or attribute name: NONE = 0
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: PowerRoleType
Method or attribute name: SOURCE = 1
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: PowerRoleType
Method or attribute name: SINK = 2
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: DataRoleType
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: DataRoleType
Method or attribute name: NONE = 0
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: DataRoleType
Method or attribute name: HOST = 1
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: DataRoleType
Method or attribute name: DEVICE = 2
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: PortModeType
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: PortModeType
Method or attribute name: NONE = 0
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: PortModeType
Method or attribute name: UFP = 1
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: PortModeType
Method or attribute name: DFP = 2
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: PortModeType
Method or attribute name: DRP = 3
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: PortModeType
Method or attribute name: NUM_MODES = 4
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBPortStatus
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBPortStatus
Method or attribute name: currentMode: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBPortStatus
Method or attribute name: currentPowerRole: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBPortStatus
Method or attribute name: currentDataRole: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBPort
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBPort
Method or attribute name: id: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBPort
Method or attribute name: supportedModes: PortModeType;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBPort
Method or attribute name: status: USBPortStatus;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBControlParams
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBControlParams
Method or attribute name: request: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBControlParams
Method or attribute name: target: USBRequestTargetType;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBControlParams
Method or attribute name: reqType: USBControlRequestType;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBControlParams
Method or attribute name: value: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBControlParams
Method or attribute name: index: number;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBControlParams
Method or attribute name: data: Uint8Array;
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBRequestTargetType
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_DEVICE = 0
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_INTERFACE = 1
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_ENDPOINT = 2
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBRequestTargetType
Method or attribute name: USB_REQUEST_TARGET_OTHER = 3
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBControlRequestType
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBControlRequestType
Method or attribute name: USB_REQUEST_TYPE_STANDARD = 0
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBControlRequestType
Method or attribute name: USB_REQUEST_TYPE_CLASS = 1
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBControlRequestType
Method or attribute name: USB_REQUEST_TYPE_VENDOR = 2
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBRequestDirection
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBRequestDirection
Method or attribute name: USB_REQUEST_DIR_TO_DEVICE = 0
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: USBRequestDirection
Method or attribute name: USB_REQUEST_DIR_FROM_DEVICE = 0x80
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: FunctionType
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: FunctionType
Method or attribute name: NONE = 0
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: FunctionType
Method or attribute name: ACM = 1
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: FunctionType
Method or attribute name: ECM = 2
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: FunctionType
Method or attribute name: HDC = 4
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: FunctionType
Method or attribute name: MTP = 8
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: FunctionType
Method or attribute name: PTP = 16
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: FunctionType
Method or attribute name: RNDIS = 32
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: FunctionType
Method or attribute name: MIDI = 64
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: FunctionType
Method or attribute name: AUDIO_SOURCE = 128
@ohos.usbManager.d.ts
Added NA Module name: ohos.usbManager
Class name: FunctionType
Method or attribute name: NCM = 256
@ohos.usbManager.d.ts
Deprecated version changed Class name: usb
Deprecated version: N/A
Class name: usb
Deprecated 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