Change Type Old Version New Version d.ts File
Added NA Class name: settings;
Method or attribute name: function getValue(context: Context, name: string, callback: AsyncCallback<string>): void;
@ohos.settings.d.ts
Added NA Class name: settings;
Method or attribute name: function getValue(context: Context, name: string): Promise<string>;
@ohos.settings.d.ts
Added NA Class name: settings;
Method or attribute name: function setValue(context: Context, name: string, value: string, callback: AsyncCallback<boolean>): void;
@ohos.settings.d.ts
Added NA Class name: settings;
Method or attribute name: function setValue(context: Context, name: string, value: string): Promise<boolean>;
@ohos.settings.d.ts
Added NA Class name: settings;
Method or attribute name: function getValueSync(context: Context, name: string, defValue: string): string;
@ohos.settings.d.ts
Added NA Class name: settings;
Method or attribute name: function setValueSync(context: Context, name: string, value: string): boolean;
@ohos.settings.d.ts
Deprecated version changed Class name: settings;
Method or attribute name: function getURI(name: string): Promise<object>;
Old version information:
Class name: settings;
Method or attribute name: function getURI(name: string): Promise<object>;
New version information: 9
Substitute API:
@ohos.settings.d.ts
Deprecated version changed Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;
Old version information:
Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;
New version information: 9
Substitute API: ohos.settings#getValue
@ohos.settings.d.ts
Deprecated version changed Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
Old version information:
Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
New version information: 9
Substitute API: ohos.settings#setValue
@ohos.settings.d.ts
Error code added Class name: call;
Method or attribute name: function makeCall(phoneNumber: string): Promise<void>;
Old version information:
Class name: call;
Method or attribute name: function makeCall(phoneNumber: string): Promise<void>;
New version information: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Access level changed Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
Old version information:
Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
New version information: systemapi
@ohos.settings.d.ts
Model changed Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;
Old version information: FAModelOnly
Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;
New version information: famodelonly
@ohos.settings.d.ts
Model changed Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;
Old version information:
Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;
New version information: famodelonly
@ohos.settings.d.ts
Model changed Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;
Old version information: FAModelOnly
Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;
New version information: famodelonly
@ohos.settings.d.ts
Model changed Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
Old version information:
Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
New version information: famodelonly
@ohos.settings.d.ts
Model changed Class name: settings;
Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;
Old version information: FAModelOnly
Class name: settings;
Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;
New version information: famodelonly
@ohos.settings.d.ts
Model changed Class name: settings;
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
Old version information: FAModelOnly
Class name: settings;
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
New version information: famodelonly
@ohos.settings.d.ts