openharmony 鸿蒙 js-apidiff-application

2023-10-30 浏览 (361)
操作旧版本新版本d.ts文件
新增NA类名:settings;
方法or属性:function getValue(context: Context, name: string, callback: AsyncCallback<string>): void;
@ohos.settings.d.ts
新增NA类名:settings;
方法or属性:function getValue(context: Context, name: string): Promise<string>;
@ohos.settings.d.ts
新增NA类名:settings;
方法or属性:function setValue(context: Context, name: string, value: string, callback: AsyncCallback<boolean>): void;
@ohos.settings.d.ts
新增NA类名:settings;
方法or属性:function setValue(context: Context, name: string, value: string): Promise<boolean>;
@ohos.settings.d.ts
新增NA类名:settings;
方法or属性:function getValueSync(context: Context, name: string, defValue: string): string;
@ohos.settings.d.ts
新增NA类名:settings;
方法or属性:function setValueSync(context: Context, name: string, value: string): boolean;
@ohos.settings.d.ts
废弃版本有变化类名:settings;
方法or属性:function getURI(name: string): Promise<object>;
旧版本信息:
类名:settings;
方法or属性:function getURI(name: string): Promise<object>;
新版本信息:9
代替接口:
@ohos.settings.d.ts
废弃版本有变化类名:settings;
方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;
旧版本信息:
类名:settings;
方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;
新版本信息:9
代替接口: ohos.settings#getValue
@ohos.settings.d.ts
废弃版本有变化类名:settings;
方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
旧版本信息:
类名:settings;
方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
新版本信息:9
代替接口: ohos.settings#setValue
@ohos.settings.d.ts
新增(错误码)类名:call;
方法or属性:function makeCall(phoneNumber: string): Promise<void>;
旧版本信息:
类名:call;
方法or属性:function makeCall(phoneNumber: string): Promise<void>;
新版本信息:401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
访问级别有变化类名:settings;
方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
旧版本信息:
类名:settings;
方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
新版本信息:systemapi
@ohos.settings.d.ts
model有变化类名:settings;
方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;
旧版本信息:FAModelOnly
类名:settings;
方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;
新版本信息:famodelonly
@ohos.settings.d.ts
model有变化类名:settings;
方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;
旧版本信息:
类名:settings;
方法or属性:function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;
新版本信息:famodelonly
@ohos.settings.d.ts
model有变化类名:settings;
方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;
旧版本信息:FAModelOnly
类名:settings;
方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;
新版本信息:famodelonly
@ohos.settings.d.ts
model有变化类名:settings;
方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
旧版本信息:
类名:settings;
方法or属性:function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
新版本信息:famodelonly
@ohos.settings.d.ts
model有变化类名:settings;
方法or属性:function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;
旧版本信息:FAModelOnly
类名:settings;
方法or属性:function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;
新版本信息:famodelonly
@ohos.settings.d.ts
model有变化类名:settings;
方法or属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
旧版本信息:FAModelOnly
类名:settings;
方法or属性:function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
新版本信息:famodelonly
@ohos.settings.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-ai

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-customization

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/2bb6d817cf554fe7ad864709c688f65f