Change Type Old Version New Version d.ts File
New error code Class name: deviceManager;
API declaration: function queryDevices(busType?: number): Array<Readonly<Device>>;
Differences: NA
Class name: deviceManager;
API declaration: function queryDevices(busType?: number): Array<Readonly<Device>>;
Differences: 201
api/@ohos.driver.deviceManager.d.ts
New error code Class name: deviceManager;
API declaration: function bindDevice(deviceId: number, onDisconnect: AsyncCallback<number>, callback: AsyncCallback<{
deviceId: number;
remote: rpc.IRemoteObject;
}>): void;
Differences: NA
Class name: deviceManager;
API declaration: function bindDevice(deviceId: number, onDisconnect: AsyncCallback<number>, callback: AsyncCallback<{
deviceId: number;
remote: rpc.IRemoteObject;
}>): void;
Differences: 201
api/@ohos.driver.deviceManager.d.ts
New error code Class name: deviceManager;
API declaration: function bindDevice(deviceId: number, onDisconnect: AsyncCallback<number>): Promise<{
deviceId: number;
remote: rpc.IRemoteObject;
}>;
Differences: NA
Class name: deviceManager;
API declaration: function bindDevice(deviceId: number, onDisconnect: AsyncCallback<number>): Promise<{
deviceId: number;
remote: rpc.IRemoteObject;
}>;
Differences: 201
api/@ohos.driver.deviceManager.d.ts
New error code Class name: deviceManager;
API declaration: function bindDeviceDriver(deviceId: number, onDisconnect: AsyncCallback<number>, callback: AsyncCallback<RemoteDeviceDriver>): void;
Differences: NA
Class name: deviceManager;
API declaration: function bindDeviceDriver(deviceId: number, onDisconnect: AsyncCallback<number>, callback: AsyncCallback<RemoteDeviceDriver>): void;
Differences: 201
api/@ohos.driver.deviceManager.d.ts
New error code Class name: deviceManager;
API declaration: function bindDeviceDriver(deviceId: number, onDisconnect: AsyncCallback<number>): Promise<RemoteDeviceDriver>;
Differences: NA
Class name: deviceManager;
API declaration: function bindDeviceDriver(deviceId: number, onDisconnect: AsyncCallback<number>): Promise<RemoteDeviceDriver>;
Differences: 201
api/@ohos.driver.deviceManager.d.ts
New error code Class name: deviceManager;
API declaration: function unbindDevice(deviceId: number, callback: AsyncCallback<number>): void;
Differences: NA
Class name: deviceManager;
API declaration: function unbindDevice(deviceId: number, callback: AsyncCallback<number>): void;
Differences: 201
api/@ohos.driver.deviceManager.d.ts
New error code Class name: deviceManager;
API declaration: function unbindDevice(deviceId: number): Promise<number>;
Differences: NA
Class name: deviceManager;
API declaration: function unbindDevice(deviceId: number): Promise<number>;
Differences: 201
api/@ohos.driver.deviceManager.d.ts
New Kit Class name: global;
API declaration: api\application\DriverExtensionContext.d.ts
Differences: NA
Class name: global;
API declaration: api\application\DriverExtensionContext.d.ts
Differences: DriverDevelopmentKit
api/application/DriverExtensionContext.d.ts