| Change Type | Old Version | New Version | d.ts File |
|---|---|---|---|
| Deprecated version changed | Class name: systemParameter; Method or attribute name: function getSync(key: string, def?: string): string; Old version information: | Class name: systemParameter; Method or attribute name: function getSync(key: string, def?: string): string; New version information: 9 Substitute API: | @ohos.systemparameter.d.ts |
| Deprecated version changed | Class name: systemParameter; Method or attribute name: function get(key: string, callback: AsyncCallback<string>): void; Old version information: | Class name: systemParameter; Method or attribute name: function get(key: string, callback: AsyncCallback<string>): void; New version information: 9 Substitute API: | @ohos.systemparameter.d.ts |
| Deprecated version changed | Class name: systemParameter; Method or attribute name: function get(key: string, def: string, callback: AsyncCallback<string>): void; Old version information: | Class name: systemParameter; Method or attribute name: function get(key: string, def: string, callback: AsyncCallback<string>): void; New version information: 9 Substitute API: | @ohos.systemparameter.d.ts |
| Deprecated version changed | Class name: systemParameter; Method or attribute name: function get(key: string, def?: string): Promise<string>; Old version information: | Class name: systemParameter; Method or attribute name: function get(key: string, def?: string): Promise<string>; New version information: 9 Substitute API: | @ohos.systemparameter.d.ts |
| Deprecated version changed | Class name: systemParameter; Method or attribute name: function set(key: string, value: string, callback: AsyncCallback<void>): void; Old version information: | Class name: systemParameter; Method or attribute name: function set(key: string, value: string, callback: AsyncCallback<void>): void; New version information: 9 Substitute API: | @ohos.systemparameter.d.ts |
| Deprecated version changed | Class name: systemParameter; Method or attribute name: function set(key: string, value: string): Promise<void>; Old version information: | Class name: systemParameter; Method or attribute name: function set(key: string, value: string): Promise<void>; New version information: 9 Substitute API: | @ohos.systemparameter.d.ts |
| Access level changed | Class name: systemParameter; Method or attribute name: function getSync(key: string, def?: string): string; Old version information: | Class name: systemParameter; Method or attribute name: function getSync(key: string, def?: string): string; New version information: systemapi | @ohos.systemparameter.d.ts |
| Access level changed | Class name: systemParameter; Method or attribute name: function get(key: string, callback: AsyncCallback<string>): void; Old version information: | Class name: systemParameter; Method or attribute name: function get(key: string, callback: AsyncCallback<string>): void; New version information: systemapi | @ohos.systemparameter.d.ts |
| Access level changed | Class name: systemParameter; Method or attribute name: function get(key: string, def: string, callback: AsyncCallback<string>): void; Old version information: | Class name: systemParameter; Method or attribute name: function get(key: string, def: string, callback: AsyncCallback<string>): void; New version information: systemapi | @ohos.systemparameter.d.ts |
| Access level changed | Class name: systemParameter; Method or attribute name: function get(key: string, def?: string): Promise<string>; Old version information: | Class name: systemParameter; Method or attribute name: function get(key: string, def?: string): Promise<string>; New version information: systemapi | @ohos.systemparameter.d.ts |
| Access level changed | Class name: systemParameter; Method or attribute name: function setSync(key: string, value: string): void; Old version information: | Class name: systemParameter; Method or attribute name: function setSync(key: string, value: string): void; New version information: systemapi | @ohos.systemparameter.d.ts |
| Access level changed | Class name: systemParameter; Method or attribute name: function set(key: string, value: string, callback: AsyncCallback<void>): void; Old version information: | Class name: systemParameter; Method or attribute name: function set(key: string, value: string, callback: AsyncCallback<void>): void; New version information: systemapi | @ohos.systemparameter.d.ts |
| Access level changed | Class name: systemParameter; Method or attribute name: function set(key: string, value: string): Promise<void>; Old version information: | Class name: systemParameter; Method or attribute name: function set(key: string, value: string): Promise<void>; New version information: systemapi | @ohos.systemparameter.d.ts |
| Access level changed | Class name: systemParameterEnhance; Method or attribute name: function getSync(key: string, def?: string): string; Old version information: | Class name: systemParameterEnhance; Method or attribute name: function getSync(key: string, def?: string): string; New version information: systemapi | @ohos.systemParameterEnhance.d.ts |
| Access level changed | Class name: systemParameterEnhance; Method or attribute name: function get(key: string, callback: AsyncCallback<string>): void; Old version information: | Class name: systemParameterEnhance; Method or attribute name: function get(key: string, callback: AsyncCallback<string>): void; New version information: systemapi | @ohos.systemParameterEnhance.d.ts |
| Access level changed | Class name: systemParameterEnhance; Method or attribute name: function get(key: string, def: string, callback: AsyncCallback<string>): void; Old version information: | Class name: systemParameterEnhance; Method or attribute name: function get(key: string, def: string, callback: AsyncCallback<string>): void; New version information: systemapi | @ohos.systemParameterEnhance.d.ts |
| Access level changed | Class name: systemParameterEnhance; Method or attribute name: function get(key: string, def?: string): Promise<string>; Old version information: | Class name: systemParameterEnhance; Method or attribute name: function get(key: string, def?: string): Promise<string>; New version information: systemapi | @ohos.systemParameterEnhance.d.ts |
| Access level changed | Class name: systemParameterEnhance; Method or attribute name: function setSync(key: string, value: string): void; Old version information: | Class name: systemParameterEnhance; Method or attribute name: function setSync(key: string, value: string): void; New version information: systemapi | @ohos.systemParameterEnhance.d.ts |
| Access level changed | Class name: systemParameterEnhance; Method or attribute name: function set(key: string, value: string, callback: AsyncCallback<void>): void; Old version information: | Class name: systemParameterEnhance; Method or attribute name: function set(key: string, value: string, callback: AsyncCallback<void>): void; New version information: systemapi | @ohos.systemParameterEnhance.d.ts |
| Access level changed | Class name: systemParameterEnhance; Method or attribute name: function set(key: string, value: string): Promise<void>; Old version information: | Class name: systemParameterEnhance; Method or attribute name: function set(key: string, value: string): Promise<void>; New version information: systemapi | @ohos.systemParameterEnhance.d.ts |
| Type changed | Class name: DeviceResponse; Method or attribute name: brand: string; Old version information: | Class name: DeviceResponse; Method or attribute name: brand: string; New version information: string | @system.device.d.ts |
| Type changed | Class name: DeviceResponse; Method or attribute name: manufacturer: string; Old version information: | Class name: DeviceResponse; Method or attribute name: manufacturer: string; New version information: string | @system.device.d.ts |
| Type changed | Class name: DeviceResponse; Method or attribute name: model: string; Old version information: | Class name: DeviceResponse; Method or attribute name: model: string; New version information: string | @system.device.d.ts |
| Type changed | Class name: DeviceResponse; Method or attribute name: product: string; Old version information: | Class name: DeviceResponse; Method or attribute name: product: string; New version information: string | @system.device.d.ts |
| Type changed | Class name: DeviceResponse; Method or attribute name: language: string; Old version information: | Class name: DeviceResponse; Method or attribute name: language: string; New version information: string | @system.device.d.ts |
| Type changed | Class name: DeviceResponse; Method or attribute name: region: string; Old version information: | Class name: DeviceResponse; Method or attribute name: region: string; New version information: string | @system.device.d.ts |
| Type changed | Class name: DeviceResponse; Method or attribute name: windowWidth: number; Old version information: | Class name: DeviceResponse; Method or attribute name: windowWidth: number; New version information: number | @system.device.d.ts |
| Type changed | Class name: DeviceResponse; Method or attribute name: windowHeight: number; Old version information: | Class name: DeviceResponse; Method or attribute name: windowHeight: number; New version information: number | @system.device.d.ts |
| Type changed | Class name: DeviceResponse; Method or attribute name: screenDensity: number; Old version information: | Class name: DeviceResponse; Method or attribute name: screenDensity: number; New version information: number | @system.device.d.ts |
| Type changed | Class name: DeviceResponse; Method or attribute name: screenShape: 'rect' |'circle'; Old version information: | Class name: DeviceResponse; Method or attribute name: screenShape: 'rect' |'circle'; New version information: 'rect' |'circle' | @system.device.d.ts |
| Type changed | Class name: DeviceResponse; Method or attribute name: apiVersion: number; Old version information: | Class name: DeviceResponse; Method or attribute name: apiVersion: number; New version information: number | @system.device.d.ts |
| Type changed | Class name: DeviceResponse; Method or attribute name: deviceType: string; Old version information: | Class name: DeviceResponse; Method or attribute name: deviceType: string; New version information: string | @system.device.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-accessibility
harmony 鸿蒙js-apidiff-application