openharmony 鸿蒙 js-apidiff-driver

2023-10-30 浏览 (218)
Change TypeOld VersionNew Versiond.ts File
AddedNAClass name: DriverExtensionAbility;
Method or attribute name: context: DriverExtensionContext;
@ohos.app.ability.DriverExtensionAbility.d.ts
AddedNAClass name: DriverExtensionAbility;
Method or attribute name: onInit(want: Want): void;
@ohos.app.ability.DriverExtensionAbility.d.ts
AddedNAClass name: DriverExtensionAbility;
Method or attribute name: onRelease(): void;
@ohos.app.ability.DriverExtensionAbility.d.ts
AddedNAClass name: DriverExtensionAbility;
Method or attribute name: onConnect(want: Want): rpc.RemoteObject |Promise<rpc.RemoteObject>;
@ohos.app.ability.DriverExtensionAbility.d.ts
AddedNAClass name: DriverExtensionAbility;
Method or attribute name: onDisconnect(want: Want): void |Promise<void>;
@ohos.app.ability.DriverExtensionAbility.d.ts
AddedNAClass name: DriverExtensionAbility;
Method or attribute name: onDump(params: Array<string>): Array<string>;
@ohos.app.ability.DriverExtensionAbility.d.ts
AddedNAClass name: deviceManager;
Method or attribute name: function queryDevices(busType?: number): Array<Readonly<Device>>;
@ohos.driver.deviceManager.d.ts
AddedNAClass name: deviceManager;
Method or attribute name: function bindDevice(deviceId: number, onDisconnect: AsyncCallback<number>,

callback: AsyncCallback<{deviceId: number, remote: rpc.IRemoteObject}>): void;
@ohos.driver.deviceManager.d.ts
AddedNAClass name: deviceManager;
Method or attribute name: function bindDevice(deviceId: number, onDisconnect: AsyncCallback<number>): Promise<{deviceId: number,

remote: rpc.IRemoteObject}>;
@ohos.driver.deviceManager.d.ts
AddedNAClass name: deviceManager;
Method or attribute name: function unbindDevice(deviceId: number, callback: AsyncCallback<number>): void;
@ohos.driver.deviceManager.d.ts
AddedNAClass name: deviceManager;
Method or attribute name: function unbindDevice(deviceId: number): Promise<number>;
@ohos.driver.deviceManager.d.ts
AddedNAClass name: BusType;
Method or attribute name: USB = 1
@ohos.driver.deviceManager.d.ts
AddedNAClass name: Device;
Method or attribute name: busType: BusType;
@ohos.driver.deviceManager.d.ts
AddedNAClass name: Device;
Method or attribute name: deviceId: number;
@ohos.driver.deviceManager.d.ts
AddedNAClass name: Device;
Method or attribute name: description: string;
@ohos.driver.deviceManager.d.ts
AddedNAClass name: USBDevice;
Method or attribute name: vendorId: number;
@ohos.driver.deviceManager.d.ts
AddedNAClass name: USBDevice;
Method or attribute name: productId: number;
@ohos.driver.deviceManager.d.ts
AddedNAClass name: DriverExtensionContext;
Method or attribute name: updateDriverState(): void;
DriverExtensionContext.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-ai

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/1ee03d3beadb48139141395cedd7f502