harmony 鸿蒙js-apidiff-application
| Change Type | Old Version | New Version | d.ts File | 
|---|---|---|---|
| Added | NA | Class name: calendarManager; Method or attribute name: function getCalendarManager(context: Context) : CalendarManager;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarManager; Method or attribute name: createCalendar(calendarAccount: CalendarAccount): Promise<Calendar>;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarManager; Method or attribute name: createCalendar(calendarAccount: CalendarAccount, callback: AsyncCallback<Calendar>): void;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarManager; Method or attribute name: deleteCalendar(calendar: Calendar): Promise<void>;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarManager; Method or attribute name: deleteCalendar(calendar: Calendar, callback: AsyncCallback<void>): void;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarManager; Method or attribute name: getCalendar(calendarAccount?: CalendarAccount): Promise<Calendar>;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarManager; Method or attribute name: getCalendar(calendarAccount: CalendarAccount, callback: AsyncCallback<Calendar>): void;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarManager; Method or attribute name: getCalendar(callback: AsyncCallback<Calendar>): void;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarManager; Method or attribute name: getAllCalendars(): Promise<Calendar[]>;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarManager; Method or attribute name: getAllCalendars(callback: AsyncCallback<Calendar[]>): void;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: readonly id: number  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: addEvent(event: Event): Promise<number>;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: addEvent(event: Event, callback: AsyncCallback<number>): void;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: addEvents(events: Event[]): Promise<void>;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: addEvents(events: Event[], callback: AsyncCallback<void>): void;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: deleteEvent(id: number): Promise<void>;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: deleteEvent(id: number, callback: AsyncCallback<void>): void;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: deleteEvents(ids: number[]): Promise<void>;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: deleteEvents(ids: number[], callback: AsyncCallback<void>): void;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: updateEvent(event: Event): Promise<void>;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: updateEvent(event: Event, callback: AsyncCallback<void>): void;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: getEvents(eventFilter?: EventFilter, eventKey?: (keyof Event)[]): Promise<Event[]>;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: getEvents(eventFilter: EventFilter, eventKey: (keyof Event)[], callback: AsyncCallback<Event[]>):void;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: getEvents(callback: AsyncCallback<Event[]>):void;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: getConfig(): CalendarConfig;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: setConfig(config: CalendarConfig): Promise<void>;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: setConfig(config: CalendarConfig, callback: AsyncCallback<void>): void;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Calendar; Method or attribute name: getAccount(): CalendarAccount;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarAccount; Method or attribute name: readonly name: string;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarAccount; Method or attribute name: type: CalendarType;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarAccount; Method or attribute name: displayName?: string  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarConfig; Method or attribute name: enableReminder?: boolean;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarConfig; Method or attribute name: color?: (number |string);  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Event; Method or attribute name: id?: number;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Event; Method or attribute name: type: EventType;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Event; Method or attribute name: title?: string;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Event; Method or attribute name: location?: Location;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Event; Method or attribute name: startTime: number;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Event; Method or attribute name: endTime: number;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Event; Method or attribute name: isAllDay?: boolean;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Event; Method or attribute name: attendee?: Attendee[];  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Event; Method or attribute name: timeZone?: string;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Event; Method or attribute name: reminderTime?: number[];  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Event; Method or attribute name: recurrenceRule?: RecurrenceRule;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Event; Method or attribute name: description?: string;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: EventService; Method or attribute name: description?: string;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Event; Method or attribute name: service?: EventService;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarType; Method or attribute name: LOCAL = ‘local’  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarType; Method or attribute name: EMAIL = ‘email’  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarType; Method or attribute name: BIRTHDAY = ‘birthday’  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarType; Method or attribute name: CALDAV = ‘caldav’  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: CalendarType; Method or attribute name: SUBSCRIBED = ‘subscribed’  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Location; Method or attribute name: location?: string;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Location; Method or attribute name: longitude?: number;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Location; Method or attribute name: latitude?: number;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: EventFilter; Method or attribute name: static filterById(ids: number[]): EventFilter;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: EventFilter; Method or attribute name: static filterByTime(start: number, end: number): EventFilter;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: EventFilter; Method or attribute name: static filterByTitle(title: string): EventFilter;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: EventType; Method or attribute name: NORMAL = 0  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: EventType; Method or attribute name: IMPORTANT = 1  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: RecurrenceRule; Method or attribute name: recurrenceFrequency: RecurrenceFrequency;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: RecurrenceRule; Method or attribute name: expire?: number;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: RecurrenceFrequency; Method or attribute name: YEARLY = 0  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: RecurrenceFrequency; Method or attribute name: MONTHLY = 1  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: RecurrenceFrequency; Method or attribute name: WEEKLY = 2  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: RecurrenceFrequency; Method or attribute name: DAILY = 3  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Attendee; Method or attribute name: name: string;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: Attendee; Method or attribute name: email: string;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: EventService; Method or attribute name: type: ServiceType;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: EventService; Method or attribute name: uri: string;  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: ServiceType; Method or attribute name: MEETING = ‘Meeting’  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: ServiceType; Method or attribute name: WATCHING = ‘Watching’  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: ServiceType; Method or attribute name: REPAYMENT = ‘Repayment’  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: ServiceType; Method or attribute name: LIVE = ‘Live’  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: ServiceType; Method or attribute name: SHOPPING = ‘Shopping’  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: ServiceType; Method or attribute name: TRIP = ‘Trip’  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: ServiceType; Method or attribute name: CLASS = ‘Class’  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: ServiceType; Method or attribute name: SPORTS_EVENTS = ‘SportsEvents’  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: ServiceType; Method or attribute name: SPORTS_EXERCISE = ‘SportsExercise’  | 
@ohos.calendarManager.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function addContact(context: Context, contact: Contact, callback: AsyncCallback<number>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function addContact(context: Context, contact: Contact): Promise<number>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function selectContacts(callback: AsyncCallback<Array<Contact>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function selectContacts(): Promise<Array<Contact>>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function selectContacts(options: ContactSelectionOptions, callback: AsyncCallback<Array<Contact>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function selectContacts(options: ContactSelectionOptions): Promise<Array<Contact>>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function deleteContact(context: Context, key: string, callback: AsyncCallback<void>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function deleteContact(context: Context, key: string): Promise<void>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContact(context: Context, key: string, callback: AsyncCallback<Contact>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContact(context: Context, key: string, holder: Holder, callback: AsyncCallback<Contact>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContact(context: Context, key: string, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContact(context: Context, key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContact(context: Context, key: string, holder?: Holder, attrs?: ContactAttributes): Promise<Contact>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContacts(context: Context, callback: AsyncCallback<Array<Contact>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContacts(context: Context, holder: Holder, callback: AsyncCallback<Array<Contact>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContacts(context: Context, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContacts(context: Context, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContacts(context: Context, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContactsByEmail(context: Context, email: string, callback: AsyncCallback<Array<Contact>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContactsByEmail(context: Context, email: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContactsByEmail(context: Context, email: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContactsByEmail(context: Context, email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContactsByEmail(context: Context, email: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(context: Context, phoneNumber: string, callback: AsyncCallback<Array<Contact>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(context: Context, phoneNumber: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(context: Context, phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(context: Context, phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(context: Context, phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryGroups(context: Context, callback: AsyncCallback<Array<Group>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryGroups(context: Context, holder: Holder, callback: AsyncCallback<Array<Group>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryGroups(context: Context, holder?: Holder): Promise<Array<Group>>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryHolders(context: Context, callback: AsyncCallback<Array<Holder>>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryHolders(context: Context): Promise<Array<Holder>>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryKey(context: Context, id: number, callback: AsyncCallback<string>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryKey(context: Context, id: number, holder: Holder, callback: AsyncCallback<string>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryKey(context: Context, id: number, holder?: Holder): Promise<string>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryMyCard(context: Context, callback: AsyncCallback<Contact>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryMyCard(context: Context, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function queryMyCard(context: Context, attrs?: ContactAttributes): Promise<Contact>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function updateContact(context: Context, contact: Contact, callback: AsyncCallback<void>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function updateContact(context: Context, contact: Contact, attrs: ContactAttributes, callback: AsyncCallback<void>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function updateContact(context: Context, contact: Contact, attrs?: ContactAttributes): Promise<void>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function isLocalContact(context: Context, id: number, callback: AsyncCallback<boolean>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function isLocalContact(context: Context, id: number): Promise<boolean>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function isMyCard(context: Context, id: number, callback: AsyncCallback<boolean>): void;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: contact; Method or attribute name: function isMyCard(context: Context, id: number): Promise<boolean>;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: ContactSelectionOptions; Method or attribute name: isMultiSelect?: boolean;  | 
@ohos.contact.d.ts | 
| Added | NA | Class name: settings; Method or attribute name: function getValue(context: Context, name: string, callback: AsyncCallback<string>): void;  | 
@ohos.settings.d.ts | 
| Added | NA | Class name: settings; Method or attribute name: function getValue(context: Context, name: string): Promise<string>;  | 
@ohos.settings.d.ts | 
| Added | NA | Class name: settings; Method or attribute name: function setValue(context: Context, name: string, value: string, callback: AsyncCallback<boolean>): void;  | 
@ohos.settings.d.ts | 
| Added | NA | Class name: settings; Method or attribute name: function setValue(context: Context, name: string, value: string): Promise<boolean>;  | 
@ohos.settings.d.ts | 
| Added | NA | Class name: settings; Method or attribute name: function getValueSync(context: Context, name: string, defValue: string): string;  | 
@ohos.settings.d.ts | 
| Added | NA | Class name: settings; Method or attribute name: function setValueSync(context: Context, name: string, value: string): boolean;  | 
@ohos.settings.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function addContact(contact: Contact, callback: AsyncCallback<number>): void; Old version information:  | 
Class name: contact; Method or attribute name: function addContact(contact: Contact, callback: AsyncCallback<number>): void; New version information: 10 Substitute API: contact.addContact#addContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function addContact(contact: Contact): Promise<number>; Old version information:  | 
Class name: contact; Method or attribute name: function addContact(contact: Contact): Promise<number>; New version information: 10 Substitute API: contact.addContact#addContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function selectContact(callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function selectContact(callback: AsyncCallback<Array<Contact>>): void; New version information: 10 Substitute API: contact.selectContact#selectContacts  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function selectContact(): Promise<Array<Contact>>; Old version information:  | 
Class name: contact; Method or attribute name: function selectContact(): Promise<Array<Contact>>; New version information: 10 Substitute API: contact.selectContact#selectContacts  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function deleteContact(key: string, callback: AsyncCallback<void>): void; Old version information:  | 
Class name: contact; Method or attribute name: function deleteContact(key: string, callback: AsyncCallback<void>): void; New version information: 10 Substitute API: contact.deleteContact#deleteContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function deleteContact(key: string): Promise<void>; Old version information:  | 
Class name: contact; Method or attribute name: function deleteContact(key: string): Promise<void>; New version information: 10 Substitute API: contact.deleteContact#deleteContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContact(key: string, callback: AsyncCallback<Contact>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContact(key: string, callback: AsyncCallback<Contact>): void; New version information: 10 Substitute API: contact.queryContact#queryContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContact(key: string, holder: Holder, callback: AsyncCallback<Contact>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContact(key: string, holder: Holder, callback: AsyncCallback<Contact>): void; New version information: 10 Substitute API: contact.queryContact#queryContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContact(key: string, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContact(key: string, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; New version information: 10 Substitute API: contact.queryContact#queryContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContact(key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContact(key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; New version information: 10 Substitute API: contact.queryContact#queryContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContact(key: string, holder?: Holder, attrs?: ContactAttributes): Promise<Contact>; Old version information:  | 
Class name: contact; Method or attribute name: function queryContact(key: string, holder?: Holder, attrs?: ContactAttributes): Promise<Contact>; New version information: 10 Substitute API: contact.queryContact#queryContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContacts(callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContacts(callback: AsyncCallback<Array<Contact>>): void; New version information: 10 Substitute API: contact.queryContacts#queryContacts  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContacts(holder: Holder, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContacts(holder: Holder, callback: AsyncCallback<Array<Contact>>): void; New version information: 10 Substitute API: contact.queryContacts#queryContacts  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContacts(attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContacts(attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; New version information: 10 Substitute API: contact.queryContacts#queryContacts  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContacts(holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContacts(holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; New version information: 10 Substitute API: contact.queryContacts#queryContacts  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContacts(holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; Old version information:  | 
Class name: contact; Method or attribute name: function queryContacts(holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; New version information: 10 Substitute API: contact.queryContacts#queryContacts  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, callback: AsyncCallback<Array<Contact>>): void; New version information: 10 Substitute API: contact.queryContactsByEmail#queryContactsByEmail  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; New version information: 10 Substitute API: contact.queryContactsByEmail#queryContactsByEmail  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; New version information: 10 Substitute API: contact.queryContactsByEmail#queryContactsByEmail  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; New version information: 10 Substitute API: contact.queryContactsByEmail#queryContactsByEmail  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; New version information: 10 Substitute API: contact.queryContactsByEmail#queryContactsByEmail  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, callback: AsyncCallback<Array<Contact>>): void; New version information: 10 Substitute API: contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; New version information: 10 Substitute API: contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; New version information: 10 Substitute API: contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; New version information: 10 Substitute API: contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; New version information: 10 Substitute API: contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryGroups(callback: AsyncCallback<Array<Group>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryGroups(callback: AsyncCallback<Array<Group>>): void; New version information: 10 Substitute API: contact.queryGroups#queryGroups  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryGroups(holder: Holder, callback: AsyncCallback<Array<Group>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryGroups(holder: Holder, callback: AsyncCallback<Array<Group>>): void; New version information: 10 Substitute API: contact.queryGroups#queryGroups  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryGroups(holder?: Holder): Promise<Array<Group>>; Old version information:  | 
Class name: contact; Method or attribute name: function queryGroups(holder?: Holder): Promise<Array<Group>>; New version information: 10 Substitute API: contact.queryGroups#queryGroups  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryHolders(callback: AsyncCallback<Array<Holder>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryHolders(callback: AsyncCallback<Array<Holder>>): void; New version information: 10 Substitute API: contact.queryHolders#queryHolders  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryHolders(): Promise<Array<Holder>>; Old version information:  | 
Class name: contact; Method or attribute name: function queryHolders(): Promise<Array<Holder>>; New version information: 10 Substitute API: contact.queryHolders#queryHolders  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryKey(id: number, callback: AsyncCallback<string>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryKey(id: number, callback: AsyncCallback<string>): void; New version information: 10 Substitute API: contact.queryKey#queryKey  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryKey(id: number, holder: Holder, callback: AsyncCallback<string>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryKey(id: number, holder: Holder, callback: AsyncCallback<string>): void; New version information: 10 Substitute API: contact.queryKey#queryKey  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryKey(id: number, holder?: Holder): Promise<string>; Old version information:  | 
Class name: contact; Method or attribute name: function queryKey(id: number, holder?: Holder): Promise<string>; New version information: 10 Substitute API: contact.queryKey#queryKey  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryMyCard(callback: AsyncCallback<Contact>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryMyCard(callback: AsyncCallback<Contact>): void; New version information: 10 Substitute API: contact.queryMyCard#queryMyCard  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryMyCard(attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryMyCard(attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; New version information: 10 Substitute API: contact.queryMyCard#queryMyCard  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function queryMyCard(attrs?: ContactAttributes): Promise<Contact>; Old version information:  | 
Class name: contact; Method or attribute name: function queryMyCard(attrs?: ContactAttributes): Promise<Contact>; New version information: 10 Substitute API: contact.queryMyCard#queryMyCard  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function updateContact(contact: Contact, callback: AsyncCallback<void>): void; Old version information:  | 
Class name: contact; Method or attribute name: function updateContact(contact: Contact, callback: AsyncCallback<void>): void; New version information: 10 Substitute API: contact.updateContact#updateContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function updateContact(contact: Contact, attrs: ContactAttributes, callback: AsyncCallback<void>): void; Old version information:  | 
Class name: contact; Method or attribute name: function updateContact(contact: Contact, attrs: ContactAttributes, callback: AsyncCallback<void>): void; New version information: 10 Substitute API: contact.updateContact#updateContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function updateContact(contact: Contact, attrs?: ContactAttributes): Promise<void>; Old version information:  | 
Class name: contact; Method or attribute name: function updateContact(contact: Contact, attrs?: ContactAttributes): Promise<void>; New version information: 10 Substitute API: contact.updateContact#updateContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function isLocalContact(id: number, callback: AsyncCallback<boolean>): void; Old version information:  | 
Class name: contact; Method or attribute name: function isLocalContact(id: number, callback: AsyncCallback<boolean>): void; New version information: 10 Substitute API: contact.isLocalContact#isLocalContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function isLocalContact(id: number): Promise<boolean>; Old version information:  | 
Class name: contact; Method or attribute name: function isLocalContact(id: number): Promise<boolean>; New version information: 10 Substitute API: contact.isLocalContact#isLocalContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function isMyCard(id: number, callback: AsyncCallback<boolean>): void; Old version information:  | 
Class name: contact; Method or attribute name: function isMyCard(id: number, callback: AsyncCallback<boolean>): void; New version information: 10 Substitute API: contact.deleteContact#deleteContact  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: contact; Method or attribute name: function isMyCard(id: number): Promise<boolean>; Old version information:  | 
Class name: contact; Method or attribute name: function isMyCard(id: number): Promise<boolean>; New version information: 10 Substitute API: contact.isMyCard#isMyCard  | 
@ohos.contact.d.ts | 
| Deprecated version changed | Class name: settings; Method or attribute name: function getURI(name: string): Promise<object>; Old version information:  | 
Class name: settings; Method or attribute name: function getURI(name: string): Promise<object>; New version information: 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 information:  | 
Class name: settings; Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>; New version information: 9 Substitute API: ohos.settings#getValue  | 
@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 information:  | 
Class name: settings; Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>; New version information: 9 Substitute API: ohos.settings#setValue  | 
@ohos.settings.d.ts | 
| Error code added | Class name: call; Method or attribute name: function makeCall(phoneNumber: string): Promise<void>; Old version information:  | 
Class name: call; Method or attribute name: function makeCall(phoneNumber: string): Promise<void>; New version information: 401,8300001,8300002,8300003,8300999  | 
@ohos.telephony.call.d.ts | 
| Access level changed | Class name: settings; Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>; Old version information:  | 
Class name: settings; Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>; New version information: systemapi  | 
@ohos.settings.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function addContact(contact: Contact): Promise<number>; Old version information:  | 
Class name: contact; Method or attribute name: function addContact(contact: Contact): Promise<number>; New version information: ohos.permission.WRITE_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function selectContact(): Promise<Array<Contact>>; Old version information:  | 
Class name: contact; Method or attribute name: function selectContact(): Promise<Array<Contact>>; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function deleteContact(key: string): Promise<void>; Old version information:  | 
Class name: contact; Method or attribute name: function deleteContact(key: string): Promise<void>; New version information: ohos.permission.WRITE_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContact(key: string, holder: Holder, callback: AsyncCallback<Contact>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContact(key: string, holder: Holder, callback: AsyncCallback<Contact>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContact(key: string, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContact(key: string, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContact(key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContact(key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContact(key: string, holder?: Holder, attrs?: ContactAttributes): Promise<Contact>; Old version information:  | 
Class name: contact; Method or attribute name: function queryContact(key: string, holder?: Holder, attrs?: ContactAttributes): Promise<Contact>; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContacts(holder: Holder, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContacts(holder: Holder, callback: AsyncCallback<Array<Contact>>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContacts(attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContacts(attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContacts(holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContacts(holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContacts(holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; Old version information:  | 
Class name: contact; Method or attribute name: function queryContacts(holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByEmail(email: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; Old version information:  | 
Class name: contact; Method or attribute name: function queryContactsByPhoneNumber(phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryGroups(holder: Holder, callback: AsyncCallback<Array<Group>>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryGroups(holder: Holder, callback: AsyncCallback<Array<Group>>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryGroups(holder?: Holder): Promise<Array<Group>>; Old version information:  | 
Class name: contact; Method or attribute name: function queryGroups(holder?: Holder): Promise<Array<Group>>; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryHolders(): Promise<Array<Holder>>; Old version information:  | 
Class name: contact; Method or attribute name: function queryHolders(): Promise<Array<Holder>>; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryKey(id: number, holder: Holder, callback: AsyncCallback<string>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryKey(id: number, holder: Holder, callback: AsyncCallback<string>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryKey(id: number, holder?: Holder): Promise<string>; Old version information:  | 
Class name: contact; Method or attribute name: function queryKey(id: number, holder?: Holder): Promise<string>; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryMyCard(attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; Old version information:  | 
Class name: contact; Method or attribute name: function queryMyCard(attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function queryMyCard(attrs?: ContactAttributes): Promise<Contact>; Old version information:  | 
Class name: contact; Method or attribute name: function queryMyCard(attrs?: ContactAttributes): Promise<Contact>; New version information: ohos.permission.READ_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 information:  | 
Class name: contact; Method or attribute name: function updateContact(contact: Contact, attrs: ContactAttributes, callback: AsyncCallback<void>): void; New version information: 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 information:  | 
Class name: contact; Method or attribute name: function updateContact(contact: Contact, attrs?: ContactAttributes): Promise<void>; New version information: ohos.permission.WRITE_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function isLocalContact(id: number): Promise<boolean>; Old version information:  | 
Class name: contact; Method or attribute name: function isLocalContact(id: number): Promise<boolean>; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Permission changed | Class name: contact; Method or attribute name: function isMyCard(id: number): Promise<boolean>; Old version information:  | 
Class name: contact; Method or attribute name: function isMyCard(id: number): Promise<boolean>; New version information: ohos.permission.READ_CONTACTS  | 
@ohos.contact.d.ts | 
| Model changed | Class name: settings; Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void; Old version information: FAModelOnly  | 
Class name: settings; Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback<object>): void; New version information: famodelonly  | 
@ohos.settings.d.ts | 
| Model changed | Class name: settings; Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>; Old version information:  | 
Class name: settings; Method or attribute name: function getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise<object>; New version information: 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 information: FAModelOnly  | 
Class name: settings; Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object, callback: AsyncCallback<boolean>): void; New version information: 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 information:  | 
Class name: settings; Method or attribute name: function setValue(dataAbilityHelper: DataAbilityHelper, name: string, value: object): Promise<boolean>; New version information: 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 information: FAModelOnly  | 
Class name: settings; Method or attribute name: function getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string; New version information: 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 information: FAModelOnly  | 
Class name: settings; Method or attribute name: function setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean; New version information: famodelonly  | 
@ohos.settings.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: readonly id?: number Old version information:  | 
Class name: Contact; Method or attribute name: readonly id?: number New version information: ?number  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: readonly key?: string Old version information:  | 
Class name: Contact; Method or attribute name: readonly key?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: contactAttributes?: ContactAttributes Old version information:  | 
Class name: Contact; Method or attribute name: contactAttributes?: ContactAttributes New version information: ?ContactAttributes  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: emails?: Email[] Old version information:  | 
Class name: Contact; Method or attribute name: emails?: Email[] New version information: ?Email[]  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: events?: Event[] Old version information:  | 
Class name: Contact; Method or attribute name: events?: Event[] New version information: ?Event[]  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: groups?: Group[] Old version information:  | 
Class name: Contact; Method or attribute name: groups?: Group[] New version information: ?Group[]  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: imAddresses?: ImAddress[] Old version information:  | 
Class name: Contact; Method or attribute name: imAddresses?: ImAddress[] New version information: ?ImAddress[]  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: phoneNumbers?: PhoneNumber[] Old version information:  | 
Class name: Contact; Method or attribute name: phoneNumbers?: PhoneNumber[] New version information: ?PhoneNumber[]  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: portrait?: Portrait Old version information:  | 
Class name: Contact; Method or attribute name: portrait?: Portrait New version information: ?Portrait  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: postalAddresses?: PostalAddress[] Old version information:  | 
Class name: Contact; Method or attribute name: postalAddresses?: PostalAddress[] New version information: ?PostalAddress[]  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: relations?: Relation[] Old version information:  | 
Class name: Contact; Method or attribute name: relations?: Relation[] New version information: ?Relation[]  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: sipAddresses?: SipAddress[] Old version information:  | 
Class name: Contact; Method or attribute name: sipAddresses?: SipAddress[] New version information: ?SipAddress[]  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: websites?: Website[] Old version information:  | 
Class name: Contact; Method or attribute name: websites?: Website[] New version information: ?Website[]  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: name?: Name Old version information:  | 
Class name: Contact; Method or attribute name: name?: Name New version information: ?Name  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: nickName?: NickName Old version information:  | 
Class name: Contact; Method or attribute name: nickName?: NickName New version information: ?NickName  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: note?: Note Old version information:  | 
Class name: Contact; Method or attribute name: note?: Note New version information: ?Note  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Contact; Method or attribute name: organization?: Organization Old version information:  | 
Class name: Contact; Method or attribute name: organization?: Organization New version information: ?Organization  | 
@ohos.contact.d.ts | 
| Type changed | Class name: ContactAttributes; Method or attribute name: attributes: Attribute[] Old version information:  | 
Class name: ContactAttributes; Method or attribute name: attributes: Attribute[] New version information: Attribute[]  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Email; Method or attribute name: email: string Old version information:  | 
Class name: Email; Method or attribute name: email: string New version information: string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Email; Method or attribute name: labelName?: string Old version information:  | 
Class name: Email; Method or attribute name: labelName?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Event; Method or attribute name: labelName?: string Old version information:  | 
Class name: Event; Method or attribute name: labelName?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: ImAddress; Method or attribute name: labelName?: string Old version information:  | 
Class name: ImAddress; Method or attribute name: labelName?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: PhoneNumber; Method or attribute name: labelName?: string Old version information:  | 
Class name: PhoneNumber; Method or attribute name: labelName?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: PostalAddress; Method or attribute name: labelName?: string Old version information:  | 
Class name: PostalAddress; Method or attribute name: labelName?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Relation; Method or attribute name: labelName?: string Old version information:  | 
Class name: Relation; Method or attribute name: labelName?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: SipAddress; Method or attribute name: labelName?: string Old version information:  | 
Class name: SipAddress; Method or attribute name: labelName?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Email; Method or attribute name: displayName?: string Old version information:  | 
Class name: Email; Method or attribute name: displayName?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Email; Method or attribute name: labelId?: number Old version information:  | 
Class name: Email; Method or attribute name: labelId?: number New version information: ?number  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Event; Method or attribute name: labelId?: number Old version information:  | 
Class name: Event; Method or attribute name: labelId?: number New version information: ?number  | 
@ohos.contact.d.ts | 
| Type changed | Class name: ImAddress; Method or attribute name: labelId?: number Old version information:  | 
Class name: ImAddress; Method or attribute name: labelId?: number New version information: ?number  | 
@ohos.contact.d.ts | 
| Type changed | Class name: PhoneNumber; Method or attribute name: labelId?: number Old version information:  | 
Class name: PhoneNumber; Method or attribute name: labelId?: number New version information: ?number  | 
@ohos.contact.d.ts | 
| Type changed | Class name: PostalAddress; Method or attribute name: labelId?: number Old version information:  | 
Class name: PostalAddress; Method or attribute name: labelId?: number New version information: ?number  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Relation; Method or attribute name: labelId?: number Old version information:  | 
Class name: Relation; Method or attribute name: labelId?: number New version information: ?number  | 
@ohos.contact.d.ts | 
| Type changed | Class name: SipAddress; Method or attribute name: labelId?: number Old version information:  | 
Class name: SipAddress; Method or attribute name: labelId?: number New version information: ?number  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Event; Method or attribute name: eventDate: string Old version information:  | 
Class name: Event; Method or attribute name: eventDate: string New version information: string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Group; Method or attribute name: groupId?: number Old version information:  | 
Class name: Group; Method or attribute name: groupId?: number New version information: ?number  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Group; Method or attribute name: title: string Old version information:  | 
Class name: Group; Method or attribute name: title: string New version information: string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Holder; Method or attribute name: readonly bundleName: string Old version information:  | 
Class name: Holder; Method or attribute name: readonly bundleName: string New version information: string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Holder; Method or attribute name: readonly displayName?: string Old version information:  | 
Class name: Holder; Method or attribute name: readonly displayName?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Holder; Method or attribute name: holderId?: number Old version information:  | 
Class name: Holder; Method or attribute name: holderId?: number New version information: ?number  | 
@ohos.contact.d.ts | 
| Type changed | Class name: ImAddress; Method or attribute name: imAddress: string Old version information:  | 
Class name: ImAddress; Method or attribute name: imAddress: string New version information: string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Name; Method or attribute name: familyName?: string Old version information:  | 
Class name: Name; Method or attribute name: familyName?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Name; Method or attribute name: familyNamePhonetic?: string Old version information:  | 
Class name: Name; Method or attribute name: familyNamePhonetic?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Name; Method or attribute name: fullName: string Old version information:  | 
Class name: Name; Method or attribute name: fullName: string New version information: string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Name; Method or attribute name: givenName?: string Old version information:  | 
Class name: Name; Method or attribute name: givenName?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Name; Method or attribute name: givenNamePhonetic?: string Old version information:  | 
Class name: Name; Method or attribute name: givenNamePhonetic?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Name; Method or attribute name: middleName?: string Old version information:  | 
Class name: Name; Method or attribute name: middleName?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Name; Method or attribute name: middleNamePhonetic?: string Old version information:  | 
Class name: Name; Method or attribute name: middleNamePhonetic?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Name; Method or attribute name: namePrefix?: string Old version information:  | 
Class name: Name; Method or attribute name: namePrefix?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Name; Method or attribute name: nameSuffix?: string Old version information:  | 
Class name: Name; Method or attribute name: nameSuffix?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: NickName; Method or attribute name: nickName: string Old version information:  | 
Class name: NickName; Method or attribute name: nickName: string New version information: string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Note; Method or attribute name: noteContent: string Old version information:  | 
Class name: Note; Method or attribute name: noteContent: string New version information: string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Organization; Method or attribute name: name: string Old version information:  | 
Class name: Organization; Method or attribute name: name: string New version information: string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Organization; Method or attribute name: title?: string Old version information:  | 
Class name: Organization; Method or attribute name: title?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: PhoneNumber; Method or attribute name: phoneNumber: string Old version information:  | 
Class name: PhoneNumber; Method or attribute name: phoneNumber: string New version information: string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Portrait; Method or attribute name: uri: string Old version information:  | 
Class name: Portrait; Method or attribute name: uri: string New version information: string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: PostalAddress; Method or attribute name: city?: string Old version information:  | 
Class name: PostalAddress; Method or attribute name: city?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: PostalAddress; Method or attribute name: country?: string Old version information:  | 
Class name: PostalAddress; Method or attribute name: country?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: PostalAddress; Method or attribute name: neighborhood?: string Old version information:  | 
Class name: PostalAddress; Method or attribute name: neighborhood?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: PostalAddress; Method or attribute name: pobox?: string Old version information:  | 
Class name: PostalAddress; Method or attribute name: pobox?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: PostalAddress; Method or attribute name: postalAddress: string Old version information:  | 
Class name: PostalAddress; Method or attribute name: postalAddress: string New version information: string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: PostalAddress; Method or attribute name: postcode?: string Old version information:  | 
Class name: PostalAddress; Method or attribute name: postcode?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: PostalAddress; Method or attribute name: region?: string Old version information:  | 
Class name: PostalAddress; Method or attribute name: region?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: PostalAddress; Method or attribute name: street?: string Old version information:  | 
Class name: PostalAddress; Method or attribute name: street?: string New version information: ?string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Relation; Method or attribute name: relationName: string Old version information:  | 
Class name: Relation; Method or attribute name: relationName: string New version information: string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: SipAddress; Method or attribute name: sipAddress: string Old version information:  | 
Class name: SipAddress; Method or attribute name: sipAddress: string New version information: string  | 
@ohos.contact.d.ts | 
| Type changed | Class name: Website; Method or attribute name: website: string Old version information:  | 
Class name: Website; Method or attribute name: website: string New version information: string  | 
@ohos.contact.d.ts | 
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-accessibility
harmony 鸿蒙js-apidiff-communication
                        
                            0
                        
                        
                             赞
                        
                    
                    
                - 所属分类: 后端技术
 - 本文标签:
 
热门推荐
- 
                        2、 - 优质文章
 - 
                        3、 gate.io
 - 
                        7、 openharmony
 - 
                        9、 golang