harmony 鸿蒙js-apidiff-driver

  • 2023-10-30
  • 浏览 (163)

Change Type Old Version New Version d.ts File
Added NA Class name: DriverExtensionAbility;
Method or attribute name: context: DriverExtensionContext;
@ohos.app.ability.DriverExtensionAbility.d.ts
Added NA Class name: DriverExtensionAbility;
Method or attribute name: onInit(want: Want): void;
@ohos.app.ability.DriverExtensionAbility.d.ts
Added NA Class name: DriverExtensionAbility;
Method or attribute name: onRelease(): void;
@ohos.app.ability.DriverExtensionAbility.d.ts
Added NA Class name: DriverExtensionAbility;
Method or attribute name: onConnect(want: Want): rpc.RemoteObject |Promise<rpc.RemoteObject>;
@ohos.app.ability.DriverExtensionAbility.d.ts
Added NA Class name: DriverExtensionAbility;
Method or attribute name: onDisconnect(want: Want): void |Promise<void>;
@ohos.app.ability.DriverExtensionAbility.d.ts
Added NA Class name: DriverExtensionAbility;
Method or attribute name: onDump(params: Array<string>): Array<string>;
@ohos.app.ability.DriverExtensionAbility.d.ts
Added NA Class name: deviceManager;
Method or attribute name: function queryDevices(busType?: number): Array<Readonly<Device>>;
@ohos.driver.deviceManager.d.ts
Added NA Class 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
Added NA Class name: deviceManager;
Method or attribute name: function bindDevice(deviceId: number, onDisconnect: AsyncCallback<number>): Promise<{deviceId: number,

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

你可能感兴趣的鸿蒙文章

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

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

0  赞