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