• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Deprecated version changed|Class name: systemParameter;<br>Method or attribute name: function getSync(key: string, def?: string): string;<br>Old version information: |Class name: systemParameter;<br>Method or attribute name: function getSync(key: string, def?: string): string;<br>New version information: 9<br>Substitute API: |@ohos.systemparameter.d.ts|
4|Deprecated version changed|Class name: systemParameter;<br>Method or attribute name: function get(key: string, callback: AsyncCallback\<string>): void;<br>Old version information: |Class name: systemParameter;<br>Method or attribute name: function get(key: string, callback: AsyncCallback\<string>): void;<br>New version information: 9<br>Substitute API: |@ohos.systemparameter.d.ts|
5|Deprecated version changed|Class name: systemParameter;<br>Method or attribute name: function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>Old version information: |Class name: systemParameter;<br>Method or attribute name: function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>New version information: 9<br>Substitute API: |@ohos.systemparameter.d.ts|
6|Deprecated version changed|Class name: systemParameter;<br>Method or attribute name: function get(key: string, def?: string): Promise\<string>;<br>Old version information: |Class name: systemParameter;<br>Method or attribute name: function get(key: string, def?: string): Promise\<string>;<br>New version information: 9<br>Substitute API: |@ohos.systemparameter.d.ts|
7|Deprecated version changed|Class name: systemParameter;<br>Method or attribute name: function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: systemParameter;<br>Method or attribute name: function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: |@ohos.systemparameter.d.ts|
8|Deprecated version changed|Class name: systemParameter;<br>Method or attribute name: function set(key: string, value: string): Promise\<void>;<br>Old version information: |Class name: systemParameter;<br>Method or attribute name: function set(key: string, value: string): Promise\<void>;<br>New version information: 9<br>Substitute API: |@ohos.systemparameter.d.ts|
9|Access level changed|Class name: systemParameter;<br>Method or attribute name: function getSync(key: string, def?: string): string;<br>Old version information: |Class name: systemParameter;<br>Method or attribute name: function getSync(key: string, def?: string): string;<br>New version information: systemapi|@ohos.systemparameter.d.ts|
10|Access level changed|Class name: systemParameter;<br>Method or attribute name: function get(key: string, callback: AsyncCallback\<string>): void;<br>Old version information: |Class name: systemParameter;<br>Method or attribute name: function get(key: string, callback: AsyncCallback\<string>): void;<br>New version information: systemapi|@ohos.systemparameter.d.ts|
11|Access level changed|Class name: systemParameter;<br>Method or attribute name: function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>Old version information: |Class name: systemParameter;<br>Method or attribute name: function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>New version information: systemapi|@ohos.systemparameter.d.ts|
12|Access level changed|Class name: systemParameter;<br>Method or attribute name: function get(key: string, def?: string): Promise\<string>;<br>Old version information: |Class name: systemParameter;<br>Method or attribute name: function get(key: string, def?: string): Promise\<string>;<br>New version information: systemapi|@ohos.systemparameter.d.ts|
13|Access level changed|Class name: systemParameter;<br>Method or attribute name: function setSync(key: string, value: string): void;<br>Old version information: |Class name: systemParameter;<br>Method or attribute name: function setSync(key: string, value: string): void;<br>New version information: systemapi|@ohos.systemparameter.d.ts|
14|Access level changed|Class name: systemParameter;<br>Method or attribute name: function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: systemParameter;<br>Method or attribute name: function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>New version information: systemapi|@ohos.systemparameter.d.ts|
15|Access level changed|Class name: systemParameter;<br>Method or attribute name: function set(key: string, value: string): Promise\<void>;<br>Old version information: |Class name: systemParameter;<br>Method or attribute name: function set(key: string, value: string): Promise\<void>;<br>New version information: systemapi|@ohos.systemparameter.d.ts|
16|Access level changed|Class name: systemParameterEnhance;<br>Method or attribute name: function getSync(key: string, def?: string): string;<br>Old version information: |Class name: systemParameterEnhance;<br>Method or attribute name: function getSync(key: string, def?: string): string;<br>New version information: systemapi|@ohos.systemParameterEnhance.d.ts|
17|Access level changed|Class name: systemParameterEnhance;<br>Method or attribute name: function get(key: string, callback: AsyncCallback\<string>): void;<br>Old version information: |Class name: systemParameterEnhance;<br>Method or attribute name: function get(key: string, callback: AsyncCallback\<string>): void;<br>New version information: systemapi|@ohos.systemParameterEnhance.d.ts|
18|Access level changed|Class name: systemParameterEnhance;<br>Method or attribute name: function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>Old version information: |Class name: systemParameterEnhance;<br>Method or attribute name: function get(key: string, def: string, callback: AsyncCallback\<string>): void;<br>New version information: systemapi|@ohos.systemParameterEnhance.d.ts|
19|Access level changed|Class name: systemParameterEnhance;<br>Method or attribute name: function get(key: string, def?: string): Promise\<string>;<br>Old version information: |Class name: systemParameterEnhance;<br>Method or attribute name: function get(key: string, def?: string): Promise\<string>;<br>New version information: systemapi|@ohos.systemParameterEnhance.d.ts|
20|Access level changed|Class name: systemParameterEnhance;<br>Method or attribute name: function setSync(key: string, value: string): void;<br>Old version information: |Class name: systemParameterEnhance;<br>Method or attribute name: function setSync(key: string, value: string): void;<br>New version information: systemapi|@ohos.systemParameterEnhance.d.ts|
21|Access level changed|Class name: systemParameterEnhance;<br>Method or attribute name: function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: systemParameterEnhance;<br>Method or attribute name: function set(key: string, value: string, callback: AsyncCallback\<void>): void;<br>New version information: systemapi|@ohos.systemParameterEnhance.d.ts|
22|Access level changed|Class name: systemParameterEnhance;<br>Method or attribute name: function set(key: string, value: string): Promise\<void>;<br>Old version information: |Class name: systemParameterEnhance;<br>Method or attribute name: function set(key: string, value: string): Promise\<void>;<br>New version information: systemapi|@ohos.systemParameterEnhance.d.ts|
23|Type changed|Class name: DeviceResponse;<br>Method or attribute name: brand: string;<br>Old version information: |Class name: DeviceResponse;<br>Method or attribute name: brand: string;<br>New version information: string|@system.device.d.ts|
24|Type changed|Class name: DeviceResponse;<br>Method or attribute name: manufacturer: string;<br>Old version information: |Class name: DeviceResponse;<br>Method or attribute name: manufacturer: string;<br>New version information: string|@system.device.d.ts|
25|Type changed|Class name: DeviceResponse;<br>Method or attribute name: model: string;<br>Old version information: |Class name: DeviceResponse;<br>Method or attribute name: model: string;<br>New version information: string|@system.device.d.ts|
26|Type changed|Class name: DeviceResponse;<br>Method or attribute name: product: string;<br>Old version information: |Class name: DeviceResponse;<br>Method or attribute name: product: string;<br>New version information: string|@system.device.d.ts|
27|Type changed|Class name: DeviceResponse;<br>Method or attribute name: language: string;<br>Old version information: |Class name: DeviceResponse;<br>Method or attribute name: language: string;<br>New version information: string|@system.device.d.ts|
28|Type changed|Class name: DeviceResponse;<br>Method or attribute name: region: string;<br>Old version information: |Class name: DeviceResponse;<br>Method or attribute name: region: string;<br>New version information: string|@system.device.d.ts|
29|Type changed|Class name: DeviceResponse;<br>Method or attribute name: windowWidth: number;<br>Old version information: |Class name: DeviceResponse;<br>Method or attribute name: windowWidth: number;<br>New version information: number|@system.device.d.ts|
30|Type changed|Class name: DeviceResponse;<br>Method or attribute name: windowHeight: number;<br>Old version information: |Class name: DeviceResponse;<br>Method or attribute name: windowHeight: number;<br>New version information: number|@system.device.d.ts|
31|Type changed|Class name: DeviceResponse;<br>Method or attribute name: screenDensity: number;<br>Old version information: |Class name: DeviceResponse;<br>Method or attribute name: screenDensity: number;<br>New version information: number|@system.device.d.ts|
32|Type changed|Class name: DeviceResponse;<br>Method or attribute name: screenShape: 'rect' \| 'circle';<br>Old version information: |Class name: DeviceResponse;<br>Method or attribute name: screenShape: 'rect' \| 'circle';<br>New version information: 'rect' \| 'circle'|@system.device.d.ts|
33|Type changed|Class name: DeviceResponse;<br>Method or attribute name: apiVersion: number;<br>Old version information: |Class name: DeviceResponse;<br>Method or attribute name: apiVersion: number;<br>New version information: number|@system.device.d.ts|
34|Type changed|Class name: DeviceResponse;<br>Method or attribute name: deviceType: string;<br>Old version information: |Class name: DeviceResponse;<br>Method or attribute name: deviceType: string;<br>New version information: string|@system.device.d.ts|
35