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