harmony 鸿蒙js-apidiff-application

  • 2023-06-24
  • 浏览 (390)

Change Type Old Version New Version d.ts File
Deprecated version changed Class name: settings;
Method or attribute name: function getURI(name: string, callback: AsyncCallback<object>): void;
Old version:
Class name: settings;
Method or attribute name: function getURI(name: string, callback: AsyncCallback<object>): void;
New version: 9
Substitute API:
@ohos.settings.d.ts
Deprecated version changed Class name: settings;
Method or attribute name: function getURI(name: string): Promise<object>;
Old version:
Class name: settings;
Method or attribute name: function getURI(name: string): Promise<object>;
New version: 9
Substitute API:
@ohos.settings.d.ts
Deprecated version changed Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;
Old version:
Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;
New version: 9
Substitute API:
@ohos.settings.d.ts
Deprecated version changed Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;
Old version:
Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;
New version: 9
Substitute API:
@ohos.settings.d.ts
Deprecated version changed Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;
Old version:
Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API:
@ohos.settings.d.ts
Deprecated version changed Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
Old version:
Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
New version: 9
Substitute API:
@ohos.settings.d.ts
Deprecated version changed Class name: settings;
Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;
Old version:
Class name: settings;
Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;
New version: 9
Substitute API:
@ohos.settings.d.ts
Deprecated version changed Class name: settings;
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
Old version:
Class name: settings;
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
New version: 9
Substitute API:
@ohos.settings.d.ts
Error code added Class name: call;
Method or attribute name: function makeCall(phoneNumber: string, callback: AsyncCallback<void>): void;
Old version:
Class name: call;
Method or attribute name: function makeCall(phoneNumber: string, callback: AsyncCallback<void>): void;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Error code added Class name: call;
Method or attribute name: function makeCall(phoneNumber: string): Promise<void>;
Old version:
Class name: call;
Method or attribute name: function makeCall(phoneNumber: string): Promise<void>;
New version: 401,8300001,8300002,8300003,8300999
@ohos.telephony.call.d.ts
Permission changed Class name: contact;
Method or attribute name: function addContact(contact: Contact, callback: AsyncCallback<number>): void;
Old version:
Class name: contact;
Method or attribute name: function addContact(contact: Contact, callback: AsyncCallback<number>): void;
New version: ohos.permission.WRITE_CONTACTS
@ohos.contact.d.ts
Permission changed Class name: contact;
Method or attribute name: function addContact(contact: Contact): Promise<number>;
Old version:
Class name: contact;
Method or attribute name: function addContact(contact: Contact): Promise<number>;
New version: ohos.permission.WRITE_CONTACTS
@ohos.contact.d.ts
Permission changed Class name: contact;
Method or attribute name: function deleteContact(key: string, callback: AsyncCallback<void>): void;
Old version:
Class name: contact;
Method or attribute name: function deleteContact(key: string, callback: AsyncCallback<void>): void;
New version: ohos.permission.WRITE_CONTACTS
@ohos.contact.d.ts
Permission changed Class name: contact;
Method or attribute name: function deleteContact(key: string): Promise<void>;
Old version:
Class name: contact;
Method or attribute name: function deleteContact(key: string): Promise<void>;
New version: ohos.permission.WRITE_CONTACTS
@ohos.contact.d.ts
Permission changed Class name: contact;
Method or attribute name: function updateContact(contact: Contact, callback: AsyncCallback<void>): void;
Old version:
Class name: contact;
Method or attribute name: function updateContact(contact: Contact, callback: AsyncCallback<void>): void;
New version: ohos.permission.WRITE_CONTACTS
@ohos.contact.d.ts
Permission changed Class name: contact;
Method or attribute name: function updateContact(contact: Contact, attrs: ContactAttributes, callback: AsyncCallback<void>): void;
Old version:
Class name: contact;
Method or attribute name: function updateContact(contact: Contact, attrs: ContactAttributes, callback: AsyncCallback<void>): void;
New version: ohos.permission.WRITE_CONTACTS
@ohos.contact.d.ts
Permission changed Class name: contact;
Method or attribute name: function updateContact(contact: Contact, attrs?: ContactAttributes): Promise<void>;
Old version:
Class name: contact;
Method or attribute name: function updateContact(contact: Contact, attrs?: ContactAttributes): Promise<void>;
New version: ohos.permission.WRITE_CONTACTS
@ohos.contact.d.ts
Permission changed Class name: settings;
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
Old version:
Class name: settings;
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
New version: ohos.permission.MANAGE_SECURE_SETTINGS
@ohos.settings.d.ts
Model changed Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;
Old version:
Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void;
New version: FAModelOnly
@ohos.settings.d.ts
Model changed Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;
Old version:
Class name: settings;
Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>;
New version: FAModelOnly
@ohos.settings.d.ts
Model changed Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;
Old version:
Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void;
New version: FAModelOnly
@ohos.settings.d.ts
Model changed Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
Old version:
Class name: settings;
Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>;
New version: FAModelOnly
@ohos.settings.d.ts
Model changed Class name: settings;
Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;
Old version:
Class name: settings;
Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string;
New version: FAModelOnly
@ohos.settings.d.ts
Model changed Class name: settings;
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
Old version:
Class name: settings;
Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean;
New version: FAModelOnly
@ohos.settings.d.ts
Function changed Class name: Contact;
Method or attribute name: readonly id: number
Class name: Contact;
Method or attribute name: readonly id?: number
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: readonly key: string
Class name: Contact;
Method or attribute name: readonly key?: string
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: contactAttributes: ContactAttributes
Class name: Contact;
Method or attribute name: contactAttributes?: ContactAttributes
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: emails: Email[]
Class name: Contact;
Method or attribute name: emails?: Email[]
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: events: Event[]
Class name: Contact;
Method or attribute name: events?: Event[]
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: groups: Group[]
Class name: Contact;
Method or attribute name: groups?: Group[]
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: imAddresses: ImAddress[]
Class name: Contact;
Method or attribute name: imAddresses?: ImAddress[]
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: phoneNumbers: PhoneNumber[]
Class name: Contact;
Method or attribute name: phoneNumbers?: PhoneNumber[]
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: portrait: Portrait
Class name: Contact;
Method or attribute name: portrait?: Portrait
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: postalAddresses: PostalAddress[]
Class name: Contact;
Method or attribute name: postalAddresses?: PostalAddress[]
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: relations: Relation[]
Class name: Contact;
Method or attribute name: relations?: Relation[]
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: sipAddresses: SipAddress[]
Class name: Contact;
Method or attribute name: sipAddresses?: SipAddress[]
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: websites: Website[]
Class name: Contact;
Method or attribute name: websites?: Website[]
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: name: Name
Class name: Contact;
Method or attribute name: name?: Name
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: nickName: NickName
Class name: Contact;
Method or attribute name: nickName?: NickName
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: note: Note
Class name: Contact;
Method or attribute name: note?: Note
@ohos.contact.d.ts
Function changed Class name: Contact;
Method or attribute name: organization: Organization
Class name: Contact;
Method or attribute name: organization?: Organization
@ohos.contact.d.ts
Function changed Class name: Email;
Method or attribute name: labelName: string
Class name: Email;
Method or attribute name: labelName?: string
@ohos.contact.d.ts
Function changed Class name: Event;
Method or attribute name: labelName: string
Class name: Event;
Method or attribute name: labelName?: string
@ohos.contact.d.ts
Function changed Class name: ImAddress;
Method or attribute name: labelName: string
Class name: ImAddress;
Method or attribute name: labelName?: string
@ohos.contact.d.ts
Function changed Class name: PhoneNumber;
Method or attribute name: labelName: string
Class name: PhoneNumber;
Method or attribute name: labelName?: string
@ohos.contact.d.ts
Function changed Class name: PostalAddress;
Method or attribute name: labelName: string
Class name: PostalAddress;
Method or attribute name: labelName?: string
@ohos.contact.d.ts
Function changed Class name: Relation;
Method or attribute name: labelName: string
Class name: Relation;
Method or attribute name: labelName?: string
@ohos.contact.d.ts
Function changed Class name: SipAddress;
Method or attribute name: labelName: string
Class name: SipAddress;
Method or attribute name: labelName?: string
@ohos.contact.d.ts
Function changed Class name: Email;
Method or attribute name: displayName: string
Class name: Email;
Method or attribute name: displayName?: string
@ohos.contact.d.ts
Function changed Class name: Email;
Method or attribute name: labelId: number
Class name: Email;
Method or attribute name: labelId?: number
@ohos.contact.d.ts
Function changed Class name: Event;
Method or attribute name: labelId: number
Class name: Event;
Method or attribute name: labelId?: number
@ohos.contact.d.ts
Function changed Class name: ImAddress;
Method or attribute name: labelId: number
Class name: ImAddress;
Method or attribute name: labelId?: number
@ohos.contact.d.ts
Function changed Class name: PhoneNumber;
Method or attribute name: labelId: number
Class name: PhoneNumber;
Method or attribute name: labelId?: number
@ohos.contact.d.ts
Function changed Class name: PostalAddress;
Method or attribute name: labelId: number
Class name: PostalAddress;
Method or attribute name: labelId?: number
@ohos.contact.d.ts
Function changed Class name: Relation;
Method or attribute name: labelId: number
Class name: Relation;
Method or attribute name: labelId?: number
@ohos.contact.d.ts
Function changed Class name: SipAddress;
Method or attribute name: labelId: number
Class name: SipAddress;
Method or attribute name: labelId?: number
@ohos.contact.d.ts
Function changed Class name: Group;
Method or attribute name: groupId: number
Class name: Group;
Method or attribute name: groupId?: number
@ohos.contact.d.ts
Function changed Class name: Holder;
Method or attribute name: readonly displayName: string
Class name: Holder;
Method or attribute name: readonly displayName?: string
@ohos.contact.d.ts
Function changed Class name: Holder;
Method or attribute name: holderId: number
Class name: Holder;
Method or attribute name: holderId?: number
@ohos.contact.d.ts
Function changed Class name: Name;
Method or attribute name: familyName: string
Class name: Name;
Method or attribute name: familyName?: string
@ohos.contact.d.ts
Function changed Class name: Name;
Method or attribute name: familyNamePhonetic: string
Class name: Name;
Method or attribute name: familyNamePhonetic?: string
@ohos.contact.d.ts
Function changed Class name: Name;
Method or attribute name: givenName: string
Class name: Name;
Method or attribute name: givenName?: string
@ohos.contact.d.ts
Function changed Class name: Name;
Method or attribute name: givenNamePhonetic: string
Class name: Name;
Method or attribute name: givenNamePhonetic?: string
@ohos.contact.d.ts
Function changed Class name: Name;
Method or attribute name: middleName: string
Class name: Name;
Method or attribute name: middleName?: string
@ohos.contact.d.ts
Function changed Class name: Name;
Method or attribute name: middleNamePhonetic: string
Class name: Name;
Method or attribute name: middleNamePhonetic?: string
@ohos.contact.d.ts
Function changed Class name: Name;
Method or attribute name: namePrefix: string
Class name: Name;
Method or attribute name: namePrefix?: string
@ohos.contact.d.ts
Function changed Class name: Name;
Method or attribute name: nameSuffix: string
Class name: Name;
Method or attribute name: nameSuffix?: string
@ohos.contact.d.ts
Function changed Class name: Organization;
Method or attribute name: title: string
Class name: Organization;
Method or attribute name: title?: string
@ohos.contact.d.ts
Function changed Class name: PostalAddress;
Method or attribute name: city: string
Class name: PostalAddress;
Method or attribute name: city?: string
@ohos.contact.d.ts
Function changed Class name: PostalAddress;
Method or attribute name: country: string
Class name: PostalAddress;
Method or attribute name: country?: string
@ohos.contact.d.ts
Function changed Class name: PostalAddress;
Method or attribute name: neighborhood: string
Class name: PostalAddress;
Method or attribute name: neighborhood?: string
@ohos.contact.d.ts
Function changed Class name: PostalAddress;
Method or attribute name: pobox: string
Class name: PostalAddress;
Method or attribute name: pobox?: string
@ohos.contact.d.ts
Function changed Class name: PostalAddress;
Method or attribute name: postcode: string
Class name: PostalAddress;
Method or attribute name: postcode?: string
@ohos.contact.d.ts
Function changed Class name: PostalAddress;
Method or attribute name: region: string
Class name: PostalAddress;
Method or attribute name: region?: string
@ohos.contact.d.ts
Function changed Class name: PostalAddress;
Method or attribute name: street: string
Class name: PostalAddress;
Method or attribute name: street?: string
@ohos.contact.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

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

0  赞