| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:sourcefile;
方法or属性:export type DriverExtensionContext = _DriverExtensionContext;|@ohos.app.ability.DriverExtensionAbility.d.ts|
|权限有变化|类名:deviceManager;
方法or属性:function queryDevices(busType?: number): Array\>;
旧版本信息:|类名:deviceManager;
方法or属性:function queryDevices(busType?: number): Array\>;
新版本信息:ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER|@ohos.driver.deviceManager.d.ts|
|权限有变化|类名:deviceManager;
方法or属性:function bindDevice(deviceId: number, onDisconnect: AsyncCallback\,
callback: AsyncCallback\<{deviceId: number, remote: rpc.IRemoteObject}>): void;
旧版本信息:|类名:deviceManager;
方法or属性:function bindDevice(deviceId: number, onDisconnect: AsyncCallback\,
callback: AsyncCallback\<{deviceId: number, remote: rpc.IRemoteObject}>): void;
新版本信息:ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER|@ohos.driver.deviceManager.d.ts|
|权限有变化|类名:deviceManager;
方法or属性:function bindDevice(deviceId: number, onDisconnect: AsyncCallback\): Promise\<{deviceId: number,
remote: rpc.IRemoteObject}>;
旧版本信息:|类名:deviceManager;
方法or属性:function bindDevice(deviceId: number, onDisconnect: AsyncCallback\): Promise\<{deviceId: number,
remote: rpc.IRemoteObject}>;
新版本信息:ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER|@ohos.driver.deviceManager.d.ts|
|权限有变化|类名:deviceManager;
方法or属性:function unbindDevice(deviceId: number, callback: AsyncCallback\): void;
旧版本信息:|类名:deviceManager;
方法or属性:function unbindDevice(deviceId: number, callback: AsyncCallback\): void;
新版本信息:ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER|@ohos.driver.deviceManager.d.ts|
|权限有变化|类名:deviceManager;
方法or属性:function unbindDevice(deviceId: number): Promise\;
旧版本信息:|类名:deviceManager;
方法or属性:function unbindDevice(deviceId: number): Promise\;
新版本信息:ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER|@ohos.driver.deviceManager.d.ts|