harmony 鸿蒙js-apidiff-start-up

  • 2023-06-24
  • 浏览 (498)

Change Type Old Version New Version d.ts File
Added NA Class name: systemParameterEnhance;
Method or attribute name: function getSync(key: string, def?: string): string;
@ohos.systemParameterEnhance.d.ts
Added NA Class name: systemParameterEnhance;
Method or attribute name: function get(key: string, callback: AsyncCallback<string>): void;
@ohos.systemParameterEnhance.d.ts
Added NA Class name: systemParameterEnhance;
Method or attribute name: function get(key: string, def: string, callback: AsyncCallback<string>): void;
@ohos.systemParameterEnhance.d.ts
Added NA Class name: systemParameterEnhance;
Method or attribute name: function get(key: string, def?: string): Promise<string>;
@ohos.systemParameterEnhance.d.ts
Added NA Class name: systemParameterEnhance;
Method or attribute name: function setSync(key: string, value: string): void;
@ohos.systemParameterEnhance.d.ts
Added NA Class name: systemParameterEnhance;
Method or attribute name: function set(key: string, value: string, callback: AsyncCallback<void>): void;
@ohos.systemParameterEnhance.d.ts
Added NA Class name: systemParameterEnhance;
Method or attribute name: function set(key: string, value: string): Promise<void>;
@ohos.systemParameterEnhance.d.ts
Deprecated version changed Class name: Device;
Method or attribute name: static getInfo(options?: GetDeviceOptions): void;
Old version:
Class name: Device;
Method or attribute name: static getInfo(options?: GetDeviceOptions): void;
New version: 6
Substitute API:
@system.device.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

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  赞