操作 旧版本 新版本 d.ts文件
model有变化 类名:settings
方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback): void;
model:N/A
类名:settings
方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback): void;
model:@FAModelOnly
@ohos.settings.d.ts
model有变化 类名:settings
方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise;
model:N/A
类名:settings
方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise;
model:@FAModelOnly
@ohos.settings.d.ts
model有变化 类名:settings
方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback): void;
model:N/A
类名:settings
方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback): void;
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): void;
废弃版本:N/A
类名:settings
方法 or 属性:function getURI(name: string, callback: AsyncCallback): void;
废弃版本:9
代替接口:N/A
@ohos.settings.d.ts
废弃版本有变化 类名:settings
方法 or 属性:function getURI(name: string): Promise;
废弃版本:N/A
类名:settings
方法 or 属性:function getURI(name: string): Promise;
废弃版本:9
@ohos.settings.d.ts
废弃版本有变化 类名:settings
方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback): void;
废弃版本:N/A
类名:settings
方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback): void;
废弃版本:9
代替接口:N/A
@ohos.settings.d.ts
废弃版本有变化 类名:settings
方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise;
废弃版本:N/A
类名:settings
方法 or 属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise;
废弃版本:9
@ohos.settings.d.ts
废弃版本有变化 类名:settings
方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback): void;
废弃版本:N/A
类名:settings
方法 or 属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback): void;
废弃版本: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