| 操作 | 旧版本 | 新版本 | 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-apidiff-application
harmony 鸿蒙js-apidiff-communication