操作 | 旧版本 | 新版本 | d.ts文件 |
---|---|---|---|
model有变化 | 类名:settings 方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback |
类名:settings 方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback |
@ohos.settings.d.ts |
model有变化 | 类名:settings 方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise |
类名:settings 方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise |
@ohos.settings.d.ts |
model有变化 | 类名:settings 方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback model:N/A |
类名:settings 方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback model:@FAModelOnly |
@ohos.settings.d.ts |
model有变化 | 类名:settings 方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise model:N/A |
类名:settings 方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise model:@FAModelOnly |
@ohos.settings.d.ts |
model有变化 | 类名:settings 方法 or 属性:function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string; model:N/A |
类名:settings 方法 or 属性:function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string; model:@FAModelOnly |
@ohos.settings.d.ts |
model有变化 | 类名:settings 方法 or 属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean; model:N/A |
类名:settings 方法 or 属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean; model:@FAModelOnly |
@ohos.settings.d.ts |
废弃版本有变化 | 类名:settings 方法 or 属性:function getURI(name: string, callback: AsyncCallback |
类名:settings 方法 or 属性:function getURI(name: string, callback: AsyncCallback |
@ohos.settings.d.ts |
废弃版本有变化 | 类名:settings 方法 or 属性:function getURI(name: string): Promise |
类名:settings 方法 or 属性:function getURI(name: string): Promise |
@ohos.settings.d.ts |
废弃版本有变化 | 类名:settings 方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback |
类名:settings 方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback |
@ohos.settings.d.ts |
废弃版本有变化 | 类名:settings 方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise |
类名:settings 方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise |
@ohos.settings.d.ts |
废弃版本有变化 | 类名:settings 方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback 废弃版本:N/A |
类名:settings 方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback 废弃版本:9 代替接口:N/A |
@ohos.settings.d.ts |
废弃版本有变化 | 类名:settings 方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise 废弃版本:N/A |
类名:settings 方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise 废弃版本:9 |
@ohos.settings.d.ts |
废弃版本有变化 | 类名:settings 方法 or 属性:function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string; 废弃版本:N/A |
类名:settings 方法 or 属性:function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string; 废弃版本:9 代替接口:N/A |
@ohos.settings.d.ts |
废弃版本有变化 | 类名:settings 方法 or 属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean; 废弃版本:N/A |
类名:settings 方法 or 属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean; 废弃版本:9 代替接口:N/A |
@ohos.settings.d.ts |
新增(权限) | 类名:settings 方法 or 属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean; 权限:N/A |
类名:settings 方法 or 属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean; 权限:ohos.permission.MANAGE_SECURE_SETTINGS |
@ohos.settings.d.ts |