Change Type Old Version New Version d.ts File
Added NA Module name: ohos.systemParameterEnhance
Class name: systemParameterEnhance
@ohos.systemParameterEnhance.d.ts
Added NA Module name: ohos.systemParameterEnhance
Class name: systemParameterEnhance
Method or attribute name: function getSync(key: string, def?: string): string;
@ohos.systemParameterEnhance.d.ts
Added NA Module name: ohos.systemParameterEnhance
Class name: systemParameterEnhance
Method or attribute name: function get(key: string, callback: AsyncCallback<string>): void;
@ohos.systemParameterEnhance.d.ts
Added NA Module name: ohos.systemParameterEnhance
Class name: systemParameterEnhance
Method or attribute name: function get(key: string, def: string, callback: AsyncCallback<string>): void;
@ohos.systemParameterEnhance.d.ts
Added NA Module name: ohos.systemParameterEnhance
Class name: systemParameterEnhance
Method or attribute name: function get(key: string, def?: string): Promise<string>;
@ohos.systemParameterEnhance.d.ts
Added NA Module name: ohos.systemParameterEnhance
Class name: systemParameterEnhance
Method or attribute name: function setSync(key: string, value: string): void;
@ohos.systemParameterEnhance.d.ts
Added NA Module name: ohos.systemParameterEnhance
Class name: systemParameterEnhance
Method or attribute name: function set(key: string, value: string, callback: AsyncCallback<void>): void;
@ohos.systemParameterEnhance.d.ts
Added NA Module name: ohos.systemParameterEnhance
Class name: systemParameterEnhance
Method or attribute name: function set(key: string, value: string): Promise<void>;
@ohos.systemParameterEnhance.d.ts
Deprecated version changed Class name: deviceInfo
Method or attribute name: const hardwareProfile: string;
Deprecated version: N/A
Class name: deviceInfo
Method or attribute name: const hardwareProfile: string;
Deprecated version: 9
Substitute API: N/A
@ohos.deviceInfo.d.ts
Deprecated version changed Class name: Device
Method or attribute name: static getInfo(options?: GetDeviceOptions): void;
Deprecated version: N/A
Class name: Device
Method or attribute name: static getInfo(options?: GetDeviceOptions): void;
Deprecated version: 6
Substitute API: N/A
@system.device.d.ts
Permission added Class name: deviceInfo
Method or attribute name: const serial: string;
Permission: N/A
Class name: deviceInfo
Method or attribute name: const serial: string;
Permission: ohos.permission.sec.ACCESS_UDID
@ohos.deviceInfo.d.ts
Permission added Class name: deviceInfo
Method or attribute name: const udid: string;
Permission: N/A
Class name: deviceInfo
Method or attribute name: const udid: string;
Permission: ohos.permission.sec.ACCESS_UDID
@ohos.deviceInfo.d.ts