1| 操作 | 旧版本 | 新版本 | d.ts文件 | 2| ---- | ------ | ------ | -------- | 3|新增|NA|类名:systemParameterEnhance;<br>方法or属性:function getSync(key: string, def?: string): string;|@ohos.systemParameterEnhance.d.ts| 4|新增|NA|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;|@ohos.systemParameterEnhance.d.ts| 5|新增|NA|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;|@ohos.systemParameterEnhance.d.ts| 6|新增|NA|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;|@ohos.systemParameterEnhance.d.ts| 7|新增|NA|类名:systemParameterEnhance;<br>方法or属性:function setSync(key: string, value: string): void;|@ohos.systemParameterEnhance.d.ts| 8|新增|NA|类名:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;|@ohos.systemParameterEnhance.d.ts| 9|新增|NA|类名:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string): Promise\<void>;|@ohos.systemParameterEnhance.d.ts| 10|废弃版本有变化|类名:Device;<br>方法or属性:static getInfo(options?: GetDeviceOptions): void;<br>旧版本信息:|类名:Device;<br>方法or属性:static getInfo(options?: GetDeviceOptions): void;<br>新版本信息:6<br>代替接口:|@system.device.d.ts| 11