• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1| 操作 | 旧版本 | 新版本 | d.ts文件 |
2| ---- | ------ | ------ | -------- |
3|model有变化|类名:settings<br>方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;<br>model:N/A|类名:settings<br>方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;<br>model:@FAModelOnly|@ohos.settings.d.ts|
4|model有变化|类名:settings<br>方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>model:N/A|类名:settings<br>方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>model:@FAModelOnly|@ohos.settings.d.ts|
5|model有变化|类名:settings<br>方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;<br>model:N/A|类名:settings<br>方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;<br>model:@FAModelOnly|@ohos.settings.d.ts|
6|model有变化|类名:settings<br>方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;<br>model:N/A|类名:settings<br>方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;<br>model:@FAModelOnly|@ohos.settings.d.ts|
7|model有变化|类名:settings<br>方法 or 属性:function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>model:N/A|类名:settings<br>方法 or 属性:function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>model:@FAModelOnly|@ohos.settings.d.ts|
8|model有变化|类名:settings<br>方法 or 属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>model:N/A|类名:settings<br>方法 or 属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>model:@FAModelOnly|@ohos.settings.d.ts|
9|废弃版本有变化|类名:settings<br>方法 or 属性:function getURI(name: string, callback: AsyncCallback<object>): void;<br>废弃版本:N/A|类名:settings<br>方法 or 属性:function getURI(name: string, callback: AsyncCallback<object>): void;<br>废弃版本:9<br>代替接口:N/A|@ohos.settings.d.ts|
10|废弃版本有变化|类名:settings<br>方法 or 属性:function getURI(name: string): Promise<object>;<br>废弃版本:N/A|类名:settings<br>方法 or 属性:function getURI(name: string): Promise<object>;<br>废弃版本:9|@ohos.settings.d.ts|
11|废弃版本有变化|类名:settings<br>方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;<br>废弃版本:N/A|类名:settings<br>方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;<br>废弃版本:9<br>代替接口:N/A|@ohos.settings.d.ts|
12|废弃版本有变化|类名:settings<br>方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>废弃版本:N/A|类名:settings<br>方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;<br>废弃版本:9|@ohos.settings.d.ts|
13|废弃版本有变化|类名:settings<br>方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;<br>废弃版本:N/A|类名:settings<br>方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;<br>废弃版本:9<br>代替接口:N/A|@ohos.settings.d.ts|
14|废弃版本有变化|类名:settings<br>方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;<br>废弃版本:N/A|类名:settings<br>方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;<br>废弃版本:9|@ohos.settings.d.ts|
15|废弃版本有变化|类名:settings<br>方法 or 属性:function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>废弃版本:N/A|类名:settings<br>方法 or 属性:function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;<br>废弃版本:9<br>代替接口:N/A|@ohos.settings.d.ts|
16|废弃版本有变化|类名:settings<br>方法 or 属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>废弃版本:N/A|类名:settings<br>方法 or 属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>废弃版本:9<br>代替接口:N/A|@ohos.settings.d.ts|
17|新增(权限)|类名:settings<br>方法 or 属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>权限:N/A|类名:settings<br>方法 or 属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;<br>权限:ohos.permission.MANAGE_SECURE_SETTINGS|@ohos.settings.d.ts|
18