1| 操作 | 旧版本 | 新版本 | d.ts文件 |
2| ---- | ------ | ------ | -------- |
3|废弃版本有变化|类名:systemParameter;<br>方法or属性:function getSync(key: string, def?: string): string;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function getSync(key: string, def?: string): string;<br>新版本信息:9<br>代替接口:|@ohos.systemparameter.d.ts|
4|废弃版本有变化|类名:systemParameter;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>新版本信息:9<br>代替接口:|@ohos.systemparameter.d.ts|
5|废弃版本有变化|类名:systemParameter;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>新版本信息:9<br>代替接口:|@ohos.systemparameter.d.ts|
6|废弃版本有变化|类名:systemParameter;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>新版本信息:9<br>代替接口:|@ohos.systemparameter.d.ts|
7|废弃版本有变化|类名:systemParameter;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口:|@ohos.systemparameter.d.ts|
8|废弃版本有变化|类名:systemParameter;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>新版本信息:9<br>代替接口:|@ohos.systemparameter.d.ts|
9|访问级别有变化|类名:systemParameter;<br>方法or属性:function getSync(key: string, def?: string): string;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function getSync(key: string, def?: string): string;<br>新版本信息:systemapi|@ohos.systemparameter.d.ts|
10|访问级别有变化|类名:systemParameter;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>新版本信息:systemapi|@ohos.systemparameter.d.ts|
11|访问级别有变化|类名:systemParameter;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>新版本信息:systemapi|@ohos.systemparameter.d.ts|
12|访问级别有变化|类名:systemParameter;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>新版本信息:systemapi|@ohos.systemparameter.d.ts|
13|访问级别有变化|类名:systemParameter;<br>方法or属性:function setSync(key: string, value: string): void;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function setSync(key: string, value: string): void;<br>新版本信息:systemapi|@ohos.systemparameter.d.ts|
14|访问级别有变化|类名:systemParameter;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.systemparameter.d.ts|
15|访问级别有变化|类名:systemParameter;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>旧版本信息:|类名:systemParameter;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.systemparameter.d.ts|
16|访问级别有变化|类名:systemParameterEnhance;<br>方法or属性:function getSync(key: string, def?: string): string;<br>旧版本信息:|类名:systemParameterEnhance;<br>方法or属性:function getSync(key: string, def?: string): string;<br>新版本信息:systemapi|@ohos.systemParameterEnhance.d.ts|
17|访问级别有变化|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;<br>新版本信息:systemapi|@ohos.systemParameterEnhance.d.ts|
18|访问级别有变化|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>新版本信息:systemapi|@ohos.systemParameterEnhance.d.ts|
19|访问级别有变化|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>旧版本信息:|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;<br>新版本信息:systemapi|@ohos.systemParameterEnhance.d.ts|
20|访问级别有变化|类名:systemParameterEnhance;<br>方法or属性:function setSync(key: string, value: string): void;<br>旧版本信息:|类名:systemParameterEnhance;<br>方法or属性:function setSync(key: string, value: string): void;<br>新版本信息:systemapi|@ohos.systemParameterEnhance.d.ts|
21|访问级别有变化|类名:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.systemParameterEnhance.d.ts|
22|访问级别有变化|类名:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>旧版本信息:|类名:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.systemParameterEnhance.d.ts|
23|type有变化|类名:DeviceResponse;<br>方法or属性:brand: string;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:brand: string;<br>新版本信息:string|@system.device.d.ts|
24|type有变化|类名:DeviceResponse;<br>方法or属性:manufacturer: string;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:manufacturer: string;<br>新版本信息:string|@system.device.d.ts|
25|type有变化|类名:DeviceResponse;<br>方法or属性:model: string;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:model: string;<br>新版本信息:string|@system.device.d.ts|
26|type有变化|类名:DeviceResponse;<br>方法or属性:product: string;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:product: string;<br>新版本信息:string|@system.device.d.ts|
27|type有变化|类名:DeviceResponse;<br>方法or属性:language: string;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:language: string;<br>新版本信息:string|@system.device.d.ts|
28|type有变化|类名:DeviceResponse;<br>方法or属性:region: string;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:region: string;<br>新版本信息:string|@system.device.d.ts|
29|type有变化|类名:DeviceResponse;<br>方法or属性:windowWidth: number;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:windowWidth: number;<br>新版本信息:number|@system.device.d.ts|
30|type有变化|类名:DeviceResponse;<br>方法or属性:windowHeight: number;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:windowHeight: number;<br>新版本信息:number|@system.device.d.ts|
31|type有变化|类名:DeviceResponse;<br>方法or属性:screenDensity: number;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:screenDensity: number;<br>新版本信息:number|@system.device.d.ts|
32|type有变化|类名:DeviceResponse;<br>方法or属性:screenShape: 'rect' \| 'circle';<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:screenShape: 'rect' \| 'circle';<br>新版本信息:'rect' \| 'circle'|@system.device.d.ts|
33|type有变化|类名:DeviceResponse;<br>方法or属性:apiVersion: number;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:apiVersion: number;<br>新版本信息:number|@system.device.d.ts|
34|type有变化|类名:DeviceResponse;<br>方法or属性:deviceType: string;<br>旧版本信息:|类名:DeviceResponse;<br>方法or属性:deviceType: string;<br>新版本信息:string|@system.device.d.ts|
35