openharmony 鸿蒙 js-apidiff-start-up

2023-06-24 浏览 (868)
操作旧版本新版本d.ts文件
新增NA模块名: ohos.systemParameterEnhance
类名: systemParameterEnhance
@ohos.systemParameterEnhance.d.ts
新增NA模块名: ohos.systemParameterEnhance
类名: systemParameterEnhance
方法 or 属性: function getSync(key: string, def?: string): string;
@ohos.systemParameterEnhance.d.ts
新增NA模块名: ohos.systemParameterEnhance
类名: systemParameterEnhance
方法 or 属性: function get(key: string, callback: AsyncCallback<string>): void;
@ohos.systemParameterEnhance.d.ts
新增NA模块名: ohos.systemParameterEnhance
类名: systemParameterEnhance
方法 or 属性: function get(key: string, def: string, callback: AsyncCallback<string>): void;
@ohos.systemParameterEnhance.d.ts
新增NA模块名: ohos.systemParameterEnhance
类名: systemParameterEnhance
方法 or 属性: function get(key: string, def?: string): Promise<string>;
@ohos.systemParameterEnhance.d.ts
新增NA模块名: ohos.systemParameterEnhance
类名: systemParameterEnhance
方法 or 属性: function setSync(key: string, value: string): void;
@ohos.systemParameterEnhance.d.ts
新增NA模块名: ohos.systemParameterEnhance
类名: systemParameterEnhance
方法 or 属性: function set(key: string, value: string, callback: AsyncCallback<void>): void;
@ohos.systemParameterEnhance.d.ts
新增NA模块名: ohos.systemParameterEnhance
类名: systemParameterEnhance
方法 or 属性: function set(key: string, value: string): Promise<void>;
@ohos.systemParameterEnhance.d.ts
删除模块名: ohos.systemParameterV9
类名: systemParameterV9
NA@ohos.systemParameterV9.d.ts
删除模块名: ohos.systemParameterV9
类名: systemParameterV9
方法 or 属性:function getSync(key: string, def?: string): string;
NA@ohos.systemParameterV9.d.ts
删除模块名: ohos.systemParameterV9
类名: systemParameterV9
方法 or 属性:function get(key: string, callback: AsyncCallback<string>): void;
NA@ohos.systemParameterV9.d.ts
删除模块名: ohos.systemParameterV9
类名: systemParameterV9
方法 or 属性:function get(key: string, def: string, callback: AsyncCallback<string>): void;
NA@ohos.systemParameterV9.d.ts
删除模块名: ohos.systemParameterV9
类名: systemParameterV9
方法 or 属性:function get(key: string, def?: string): Promise<string>;
NA@ohos.systemParameterV9.d.ts
删除模块名: ohos.systemParameterV9
类名: systemParameterV9
方法 or 属性:function setSync(key: string, value: string): void;
NA@ohos.systemParameterV9.d.ts
删除模块名: ohos.systemParameterV9
类名: systemParameterV9
方法 or 属性:function set(key: string, value: string, callback: AsyncCallback<void>): void;
NA@ohos.systemParameterV9.d.ts
删除模块名: ohos.systemParameterV9
类名: systemParameterV9
方法 or 属性:function set(key: string, value: string): Promise<void>;
NA@ohos.systemParameterV9.d.ts
废弃版本有变化类名:deviceInfo
方法 or 属性:const hardwareProfile: string;
废弃版本:N/A
类名:deviceInfo
方法 or 属性:const hardwareProfile: string;
废弃版本:9
代替接口:N/A
@ohos.deviceInfo.d.ts
废弃版本有变化类名:Device
方法 or 属性:static getInfo(options?: GetDeviceOptions): void;
废弃版本:N/A
类名:Device
方法 or 属性:static getInfo(options?: GetDeviceOptions): void;
废弃版本:6
代替接口:N/A
@system.device.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API差异报告

harmony 鸿蒙js-apidiff-ability

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

harmony 鸿蒙js-apidiff-dfx

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