Change Type | Old Version | New Version | d.ts File |
---|---|---|---|
Added | NA | Class name: sourcefile; Method or attribute name: export type DriverExtensionContext = _DriverExtensionContext; |
@ohos.app.ability.DriverExtensionAbility.d.ts |
Permission changed | Class name: deviceManager; Method or attribute name: function queryDevices(busType?: number): Array<Readonly<Device>>; Old version information: |
Class name: deviceManager; Method or attribute name: function queryDevices(busType?: number): Array<Readonly<Device>>; New version information: ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER |
@ohos.driver.deviceManager.d.ts |
Permission changed | Class name: deviceManager; Method or attribute name: function bindDevice(deviceId: number, onDisconnect: AsyncCallback<number>, callback: AsyncCallback<{deviceId: number, remote: rpc.IRemoteObject}>): void; Old version information: |
Class name: deviceManager; Method or attribute name: function bindDevice(deviceId: number, onDisconnect: AsyncCallback<number>, callback: AsyncCallback<{deviceId: number, remote: rpc.IRemoteObject}>): void; New version information: ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER |
@ohos.driver.deviceManager.d.ts |
Permission changed | Class name: deviceManager; Method or attribute name: function bindDevice(deviceId: number, onDisconnect: AsyncCallback<number>): Promise<{deviceId: number, remote: rpc.IRemoteObject}>; Old version information: |
Class name: deviceManager; Method or attribute name: function bindDevice(deviceId: number, onDisconnect: AsyncCallback<number>): Promise<{deviceId: number, remote: rpc.IRemoteObject}>; New version information: ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER |
@ohos.driver.deviceManager.d.ts |
Permission changed | Class name: deviceManager; Method or attribute name: function unbindDevice(deviceId: number, callback: AsyncCallback<number>): void; Old version information: |
Class name: deviceManager; Method or attribute name: function unbindDevice(deviceId: number, callback: AsyncCallback<number>): void; New version information: ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER |
@ohos.driver.deviceManager.d.ts |
Permission changed | Class name: deviceManager; Method or attribute name: function unbindDevice(deviceId: number): Promise<number>; Old version information: |
Class name: deviceManager; Method or attribute name: function unbindDevice(deviceId: number): Promise<number>; New version information: ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER |
@ohos.driver.deviceManager.d.ts |