• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Added|NA|Module name: ohos.systemParameterEnhance<br>Class name: systemParameterEnhance|@ohos.systemParameterEnhance.d.ts|
4|Added|NA|Module name: ohos.systemParameterEnhance<br>Class name: systemParameterEnhance<br>Method or attribute name: function getSync(key: string, def?: string): string;|@ohos.systemParameterEnhance.d.ts|
5|Added|NA|Module name: ohos.systemParameterEnhance<br>Class name: systemParameterEnhance<br>Method or attribute name: function get(key: string, callback: AsyncCallback\<string>): void;|@ohos.systemParameterEnhance.d.ts|
6|Added|NA|Module name: ohos.systemParameterEnhance<br>Class name: systemParameterEnhance<br>Method or attribute name: function get(key: string, def: string, callback: AsyncCallback\<string>): void;|@ohos.systemParameterEnhance.d.ts|
7|Added|NA|Module name: ohos.systemParameterEnhance<br>Class name: systemParameterEnhance<br>Method or attribute name: function get(key: string, def?: string): Promise\<string>;|@ohos.systemParameterEnhance.d.ts|
8|Added|NA|Module name: ohos.systemParameterEnhance<br>Class name: systemParameterEnhance<br>Method or attribute name: function setSync(key: string, value: string): void;|@ohos.systemParameterEnhance.d.ts|
9|Added|NA|Module name: ohos.systemParameterEnhance<br>Class name: systemParameterEnhance<br>Method or attribute name: function set(key: string, value: string, callback: AsyncCallback\<void>): void;|@ohos.systemParameterEnhance.d.ts|
10|Added|NA|Module name: ohos.systemParameterEnhance<br>Class name: systemParameterEnhance<br>Method or attribute name: function set(key: string, value: string): Promise\<void>;|@ohos.systemParameterEnhance.d.ts|
11|Deprecated version changed|Class name: deviceInfo<br>Method or attribute name: const hardwareProfile: string;<br>Deprecated version: N/A|Class name: deviceInfo<br>Method or attribute name: const hardwareProfile: string;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.deviceInfo.d.ts|
12|Deprecated version changed|Class name: Device<br>Method or attribute name: static getInfo(options?: GetDeviceOptions): void;<br>Deprecated version: N/A|Class name: Device<br>Method or attribute name: static getInfo(options?: GetDeviceOptions): void;<br>Deprecated version: 6<br>Substitute API: N/A|@system.device.d.ts|
13|Permission added|Class name: deviceInfo<br>Method or attribute name: const serial: string;<br>Permission: N/A|Class name: deviceInfo<br>Method or attribute name: const serial: string;<br>Permission: ohos.permission.sec.ACCESS_UDID|@ohos.deviceInfo.d.ts|
14|Permission added|Class name: deviceInfo<br>Method or attribute name: const udid: string;<br>Permission: N/A|Class name: deviceInfo<br>Method or attribute name: const udid: string;<br>Permission: ohos.permission.sec.ACCESS_UDID|@ohos.deviceInfo.d.ts|
15