• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Model changed|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;<br>Model: N/A|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;<br>Model: @FAModelOnly|@ohos.settings.d.ts|
4|Model changed|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>Model: N/A|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>Model: @FAModelOnly|@ohos.settings.d.ts|
5|Model changed|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;<br>Model: N/A|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;<br>Model: @FAModelOnly|@ohos.settings.d.ts|
6|Model changed|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;<br>Model: N/A|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;<br>Model: @FAModelOnly|@ohos.settings.d.ts|
7|Model changed|Class name: settings<br>Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>Model: N/A|Class name: settings<br>Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>Model: @FAModelOnly|@ohos.settings.d.ts|
8|Model changed|Class name: settings<br>Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>Model: N/A|Class name: settings<br>Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>Model: @FAModelOnly|@ohos.settings.d.ts|
9|Deprecated version changed|Class name: settings<br>Method or attribute name: function getURI(name: string, callback: AsyncCallback<object>): void;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function getURI(name: string, callback: AsyncCallback<object>): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.settings.d.ts|
10|Deprecated version changed|Class name: settings<br>Method or attribute name: function getURI(name: string): Promise<object>;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function getURI(name: string): Promise<object>;<br>Deprecated version: 9|@ohos.settings.d.ts|
11|Deprecated version changed|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.settings.d.ts|
12|Deprecated version changed|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>Deprecated version: 9|@ohos.settings.d.ts|
13|Deprecated version changed|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.settings.d.ts|
14|Deprecated version changed|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;<br>Deprecated version: 9|@ohos.settings.d.ts|
15|Deprecated version changed|Class name: settings<br>Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.settings.d.ts|
16|Deprecated version changed|Class name: settings<br>Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>Deprecated version: N/A|Class name: settings<br>Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.settings.d.ts|
17|Permission added|Class name: settings<br>Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>Permission: N/A|Class name: settings<br>Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>Permission: ohos.permission.MANAGE_SECURE_SETTINGS|@ohos.settings.d.ts|
18