| 操作 | 旧版本 | 新版本 | d.ts文件 |
|---|---|---|---|
| 新增 | NA | 类名:calendarManager; 方法or属性:function getCalendarManager(context: Context) : CalendarManager; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarManager; 方法or属性:createCalendar(calendarAccount: CalendarAccount): Promise<Calendar>; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarManager; 方法or属性:createCalendar(calendarAccount: CalendarAccount, callback: AsyncCallback<Calendar>): void; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarManager; 方法or属性:deleteCalendar(calendar: Calendar): Promise<void>; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarManager; 方法or属性:deleteCalendar(calendar: Calendar, callback: AsyncCallback<void>): void; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarManager; 方法or属性:getCalendar(calendarAccount?: CalendarAccount): Promise<Calendar>; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarManager; 方法or属性:getCalendar(calendarAccount: CalendarAccount, callback: AsyncCallback<Calendar>): void; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarManager; 方法or属性:getCalendar(callback: AsyncCallback<Calendar>): void; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarManager; 方法or属性:getAllCalendars(): Promise<Calendar[]>; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarManager; 方法or属性:getAllCalendars(callback: AsyncCallback<Calendar[]>): void; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:readonly id: number | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:addEvent(event: Event): Promise<number>; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:addEvent(event: Event, callback: AsyncCallback<number>): void; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:addEvents(events: Event[]): Promise<void>; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:addEvents(events: Event[], callback: AsyncCallback<void>): void; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:deleteEvent(id: number): Promise<void>; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:deleteEvent(id: number, callback: AsyncCallback<void>): void; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:deleteEvents(ids: number[]): Promise<void>; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:deleteEvents(ids: number[], callback: AsyncCallback<void>): void; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:updateEvent(event: Event): Promise<void>; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:updateEvent(event: Event, callback: AsyncCallback<void>): void; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:getEvents(eventFilter?: EventFilter, eventKey?: (keyof Event)[]): Promise<Event[]>; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:getEvents(eventFilter: EventFilter, eventKey: (keyof Event)[], callback: AsyncCallback<Event[]>):void; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:getEvents(callback: AsyncCallback<Event[]>):void; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:getConfig(): CalendarConfig; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:setConfig(config: CalendarConfig): Promise<void>; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:setConfig(config: CalendarConfig, callback: AsyncCallback<void>): void; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Calendar; 方法or属性:getAccount(): CalendarAccount; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarAccount; 方法or属性:readonly name: string; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarAccount; 方法or属性:type: CalendarType; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarAccount; 方法or属性:displayName?: string | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarConfig; 方法or属性:enableReminder?: boolean; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarConfig; 方法or属性:color?: (number |string); | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Event; 方法or属性:id?: number; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Event; 方法or属性:type: EventType; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Event; 方法or属性:title?: string; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Event; 方法or属性:location?: Location; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Event; 方法or属性:startTime: number; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Event; 方法or属性:endTime: number; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Event; 方法or属性:isAllDay?: boolean; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Event; 方法or属性:attendee?: Attendee[]; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Event; 方法or属性:timeZone?: string; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Event; 方法or属性:reminderTime?: number[]; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Event; 方法or属性:recurrenceRule?: RecurrenceRule; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Event; 方法or属性:description?: string; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:EventService; 方法or属性:description?: string; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Event; 方法or属性:service?: EventService; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarType; 方法or属性:LOCAL = 'local' | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarType; 方法or属性:EMAIL = 'email' | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarType; 方法or属性:BIRTHDAY = 'birthday' | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarType; 方法or属性:CALDAV = 'caldav' | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:CalendarType; 方法or属性:SUBSCRIBED = 'subscribed' | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Location; 方法or属性:location?: string; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Location; 方法or属性:longitude?: number; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Location; 方法or属性:latitude?: number; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:EventFilter; 方法or属性:static filterById(ids: number[]): EventFilter; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:EventFilter; 方法or属性:static filterByTime(start: number, end: number): EventFilter; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:EventFilter; 方法or属性:static filterByTitle(title: string): EventFilter; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:EventType; 方法or属性:NORMAL = 0 | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:EventType; 方法or属性:IMPORTANT = 1 | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:RecurrenceRule; 方法or属性:recurrenceFrequency: RecurrenceFrequency; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:RecurrenceRule; 方法or属性:expire?: number; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:RecurrenceFrequency; 方法or属性:YEARLY = 0 | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:RecurrenceFrequency; 方法or属性:MONTHLY = 1 | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:RecurrenceFrequency; 方法or属性:WEEKLY = 2 | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:RecurrenceFrequency; 方法or属性:DAILY = 3 | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Attendee; 方法or属性:name: string; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:Attendee; 方法or属性:email: string; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:EventService; 方法or属性:type: ServiceType; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:EventService; 方法or属性:uri: string; | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:ServiceType; 方法or属性:MEETING = 'Meeting' | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:ServiceType; 方法or属性:WATCHING = 'Watching' | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:ServiceType; 方法or属性:REPAYMENT = 'Repayment' | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:ServiceType; 方法or属性:LIVE = 'Live' | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:ServiceType; 方法or属性:SHOPPING = 'Shopping' | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:ServiceType; 方法or属性:TRIP = 'Trip' | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:ServiceType; 方法or属性:CLASS = 'Class' | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:ServiceType; 方法or属性:SPORTS_EVENTS = 'SportsEvents' | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:ServiceType; 方法or属性:SPORTS_EXERCISE = 'SportsExercise' | @ohos.calendarManager.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function addContact(context: Context, contact: Contact, callback: AsyncCallback<number>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function addContact(context: Context, contact: Contact): Promise<number>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function selectContacts(callback: AsyncCallback<Array<Contact>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function selectContacts(): Promise<Array<Contact>>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function selectContacts(options: ContactSelectionOptions, callback: AsyncCallback<Array<Contact>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function selectContacts(options: ContactSelectionOptions): Promise<Array<Contact>>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function deleteContact(context: Context, key: string, callback: AsyncCallback<void>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function deleteContact(context: Context, key: string): Promise<void>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContact(context: Context, key: string, callback: AsyncCallback<Contact>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContact(context: Context, key: string, holder: Holder, callback: AsyncCallback<Contact>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContact(context: Context, key: string, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContact(context: Context, key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContact(context: Context, key: string, holder?: Holder, attrs?: ContactAttributes): Promise<Contact>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContacts(context: Context, callback: AsyncCallback<Array<Contact>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContacts(context: Context, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContacts(context: Context, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContacts(context: Context, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContacts(context: Context, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContactsByEmail(context: Context, email: string, callback: AsyncCallback<Array<Contact>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContactsByEmail(context: Context, email: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContactsByEmail(context: Context, email: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContactsByEmail(context: Context, email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContactsByEmail(context: Context, email: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(context: Context, phoneNumber: string, callback: AsyncCallback<Array<Contact>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(context: Context, phoneNumber: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(context: Context, phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(context: Context, phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(context: Context, phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryGroups(context: Context, callback: AsyncCallback<Array<Group>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryGroups(context: Context, holder: Holder, callback: AsyncCallback<Array<Group>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryGroups(context: Context, holder?: Holder): Promise<Array<Group>>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryHolders(context: Context, callback: AsyncCallback<Array<Holder>>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryHolders(context: Context): Promise<Array<Holder>>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryKey(context: Context, id: number, callback: AsyncCallback<string>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryKey(context: Context, id: number, holder: Holder, callback: AsyncCallback<string>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryKey(context: Context, id: number, holder?: Holder): Promise<string>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryMyCard(context: Context, callback: AsyncCallback<Contact>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryMyCard(context: Context, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function queryMyCard(context: Context, attrs?: ContactAttributes): Promise<Contact>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function updateContact(context: Context, contact: Contact, callback: AsyncCallback<void>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function updateContact(context: Context, contact: Contact, attrs: ContactAttributes, callback: AsyncCallback<void>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function updateContact(context: Context, contact: Contact, attrs?: ContactAttributes): Promise<void>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function isLocalContact(context: Context, id: number, callback: AsyncCallback<boolean>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function isLocalContact(context: Context, id: number): Promise<boolean>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function isMyCard(context: Context, id: number, callback: AsyncCallback<boolean>): void; | @ohos.contact.d.ts |
| 新增 | NA | 类名:contact; 方法or属性:function isMyCard(context: Context, id: number): Promise<boolean>; | @ohos.contact.d.ts |
| 新增 | NA | 类名:ContactSelectionOptions; 方法or属性:isMultiSelect?: boolean; | @ohos.contact.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 |
| 废弃版本有变化 | 类名:contact; 方法or属性:function addContact(contact: Contact, callback: AsyncCallback<number>): void; 旧版本信息: | 类名:contact; 方法or属性:function addContact(contact: Contact, callback: AsyncCallback<number>): void; 新版本信息:10 代替接口: contact.addContact#addContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function addContact(contact: Contact): Promise<number>; 旧版本信息: | 类名:contact; 方法or属性:function addContact(contact: Contact): Promise<number>; 新版本信息:10 代替接口: contact.addContact#addContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function selectContact(callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function selectContact(callback: AsyncCallback<Array<Contact>>): void; 新版本信息:10 代替接口: contact.selectContact#selectContacts | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function selectContact(): Promise<Array<Contact>>; 旧版本信息: | 类名:contact; 方法or属性:function selectContact(): Promise<Array<Contact>>; 新版本信息:10 代替接口: contact.selectContact#selectContacts | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function deleteContact(key: string, callback: AsyncCallback<void>): void; 旧版本信息: | 类名:contact; 方法or属性:function deleteContact(key: string, callback: AsyncCallback<void>): void; 新版本信息:10 代替接口: contact.deleteContact#deleteContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function deleteContact(key: string): Promise<void>; 旧版本信息: | 类名:contact; 方法or属性:function deleteContact(key: string): Promise<void>; 新版本信息:10 代替接口: contact.deleteContact#deleteContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContact(key: string, callback: AsyncCallback<Contact>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContact(key: string, callback: AsyncCallback<Contact>): void; 新版本信息:10 代替接口: contact.queryContact#queryContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContact(key: string, holder: Holder, callback: AsyncCallback<Contact>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContact(key: string, holder: Holder, callback: AsyncCallback<Contact>): void; 新版本信息:10 代替接口: contact.queryContact#queryContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContact(key: string, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContact(key: string, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; 新版本信息:10 代替接口: contact.queryContact#queryContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContact(key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContact(key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; 新版本信息:10 代替接口: contact.queryContact#queryContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContact(key: string, holder?: Holder, attrs?: ContactAttributes): Promise<Contact>; 旧版本信息: | 类名:contact; 方法or属性:function queryContact(key: string, holder?: Holder, attrs?: ContactAttributes): Promise<Contact>; 新版本信息:10 代替接口: contact.queryContact#queryContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContacts(callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContacts(callback: AsyncCallback<Array<Contact>>): void; 新版本信息:10 代替接口: contact.queryContacts#queryContacts | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContacts(holder: Holder, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContacts(holder: Holder, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:10 代替接口: contact.queryContacts#queryContacts | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContacts(attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContacts(attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:10 代替接口: contact.queryContacts#queryContacts | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContacts(holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContacts(holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:10 代替接口: contact.queryContacts#queryContacts | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContacts(holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; 旧版本信息: | 类名:contact; 方法or属性:function queryContacts(holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; 新版本信息:10 代替接口: contact.queryContacts#queryContacts | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:10 代替接口: contact.queryContactsByEmail#queryContactsByEmail | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:10 代替接口: contact.queryContactsByEmail#queryContactsByEmail | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:10 代替接口: contact.queryContactsByEmail#queryContactsByEmail | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:10 代替接口: contact.queryContactsByEmail#queryContactsByEmail | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; 新版本信息:10 代替接口: contact.queryContactsByEmail#queryContactsByEmail | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:10 代替接口: contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:10 代替接口: contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:10 代替接口: contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:10 代替接口: contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; 新版本信息:10 代替接口: contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryGroups(callback: AsyncCallback<Array<Group>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryGroups(callback: AsyncCallback<Array<Group>>): void; 新版本信息:10 代替接口: contact.queryGroups#queryGroups | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryGroups(holder: Holder, callback: AsyncCallback<Array<Group>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryGroups(holder: Holder, callback: AsyncCallback<Array<Group>>): void; 新版本信息:10 代替接口: contact.queryGroups#queryGroups | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryGroups(holder?: Holder): Promise<Array<Group>>; 旧版本信息: | 类名:contact; 方法or属性:function queryGroups(holder?: Holder): Promise<Array<Group>>; 新版本信息:10 代替接口: contact.queryGroups#queryGroups | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryHolders(callback: AsyncCallback<Array<Holder>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryHolders(callback: AsyncCallback<Array<Holder>>): void; 新版本信息:10 代替接口: contact.queryHolders#queryHolders | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryHolders(): Promise<Array<Holder>>; 旧版本信息: | 类名:contact; 方法or属性:function queryHolders(): Promise<Array<Holder>>; 新版本信息:10 代替接口: contact.queryHolders#queryHolders | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryKey(id: number, callback: AsyncCallback<string>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryKey(id: number, callback: AsyncCallback<string>): void; 新版本信息:10 代替接口: contact.queryKey#queryKey | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryKey(id: number, holder: Holder, callback: AsyncCallback<string>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryKey(id: number, holder: Holder, callback: AsyncCallback<string>): void; 新版本信息:10 代替接口: contact.queryKey#queryKey | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryKey(id: number, holder?: Holder): Promise<string>; 旧版本信息: | 类名:contact; 方法or属性:function queryKey(id: number, holder?: Holder): Promise<string>; 新版本信息:10 代替接口: contact.queryKey#queryKey | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryMyCard(callback: AsyncCallback<Contact>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryMyCard(callback: AsyncCallback<Contact>): void; 新版本信息:10 代替接口: contact.queryMyCard#queryMyCard | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryMyCard(attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryMyCard(attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; 新版本信息:10 代替接口: contact.queryMyCard#queryMyCard | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function queryMyCard(attrs?: ContactAttributes): Promise<Contact>; 旧版本信息: | 类名:contact; 方法or属性:function queryMyCard(attrs?: ContactAttributes): Promise<Contact>; 新版本信息:10 代替接口: contact.queryMyCard#queryMyCard | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function updateContact(contact: Contact, callback: AsyncCallback<void>): void; 旧版本信息: | 类名:contact; 方法or属性:function updateContact(contact: Contact, callback: AsyncCallback<void>): void; 新版本信息:10 代替接口: contact.updateContact#updateContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function updateContact(contact: Contact, attrs: ContactAttributes, callback: AsyncCallback<void>): void; 旧版本信息: | 类名:contact; 方法or属性:function updateContact(contact: Contact, attrs: ContactAttributes, callback: AsyncCallback<void>): void; 新版本信息:10 代替接口: contact.updateContact#updateContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function updateContact(contact: Contact, attrs?: ContactAttributes): Promise<void>; 旧版本信息: | 类名:contact; 方法or属性:function updateContact(contact: Contact, attrs?: ContactAttributes): Promise<void>; 新版本信息:10 代替接口: contact.updateContact#updateContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function isLocalContact(id: number, callback: AsyncCallback<boolean>): void; 旧版本信息: | 类名:contact; 方法or属性:function isLocalContact(id: number, callback: AsyncCallback<boolean>): void; 新版本信息:10 代替接口: contact.isLocalContact#isLocalContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function isLocalContact(id: number): Promise<boolean>; 旧版本信息: | 类名:contact; 方法or属性:function isLocalContact(id: number): Promise<boolean>; 新版本信息:10 代替接口: contact.isLocalContact#isLocalContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function isMyCard(id: number, callback: AsyncCallback<boolean>): void; 旧版本信息: | 类名:contact; 方法or属性:function isMyCard(id: number, callback: AsyncCallback<boolean>): void; 新版本信息:10 代替接口: contact.deleteContact#deleteContact | @ohos.contact.d.ts |
| 废弃版本有变化 | 类名:contact; 方法or属性:function isMyCard(id: number): Promise<boolean>; 旧版本信息: | 类名:contact; 方法or属性:function isMyCard(id: number): Promise<boolean>; 新版本信息:10 代替接口: contact.isMyCard#isMyCard | @ohos.contact.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 |
| 权限有变化 | 类名:contact; 方法or属性:function addContact(contact: Contact): Promise<number>; 旧版本信息: | 类名:contact; 方法or属性:function addContact(contact: Contact): Promise<number>; 新版本信息:ohos.permission.WRITE_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function selectContact(): Promise<Array<Contact>>; 旧版本信息: | 类名:contact; 方法or属性:function selectContact(): Promise<Array<Contact>>; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function deleteContact(key: string): Promise<void>; 旧版本信息: | 类名:contact; 方法or属性:function deleteContact(key: string): Promise<void>; 新版本信息:ohos.permission.WRITE_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContact(key: string, holder: Holder, callback: AsyncCallback<Contact>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContact(key: string, holder: Holder, callback: AsyncCallback<Contact>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContact(key: string, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContact(key: string, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContact(key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContact(key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContact(key: string, holder?: Holder, attrs?: ContactAttributes): Promise<Contact>; 旧版本信息: | 类名:contact; 方法or属性:function queryContact(key: string, holder?: Holder, attrs?: ContactAttributes): Promise<Contact>; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContacts(holder: Holder, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContacts(holder: Holder, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContacts(attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContacts(attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContacts(holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContacts(holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContacts(holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; 旧版本信息: | 类名:contact; 方法or属性:function queryContacts(holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByEmail(email: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; 旧版本信息: | 类名:contact; 方法or属性:function queryContactsByPhoneNumber(phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryGroups(holder: Holder, callback: AsyncCallback<Array<Group>>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryGroups(holder: Holder, callback: AsyncCallback<Array<Group>>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryGroups(holder?: Holder): Promise<Array<Group>>; 旧版本信息: | 类名:contact; 方法or属性:function queryGroups(holder?: Holder): Promise<Array<Group>>; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryHolders(): Promise<Array<Holder>>; 旧版本信息: | 类名:contact; 方法or属性:function queryHolders(): Promise<Array<Holder>>; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryKey(id: number, holder: Holder, callback: AsyncCallback<string>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryKey(id: number, holder: Holder, callback: AsyncCallback<string>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryKey(id: number, holder?: Holder): Promise<string>; 旧版本信息: | 类名:contact; 方法or属性:function queryKey(id: number, holder?: Holder): Promise<string>; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryMyCard(attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; 旧版本信息: | 类名:contact; 方法or属性:function queryMyCard(attrs: ContactAttributes, callback: AsyncCallback<Contact>): void; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function queryMyCard(attrs?: ContactAttributes): Promise<Contact>; 旧版本信息: | 类名:contact; 方法or属性:function queryMyCard(attrs?: ContactAttributes): Promise<Contact>; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function updateContact(contact: Contact, attrs: ContactAttributes, callback: AsyncCallback<void>): void; 旧版本信息: | 类名:contact; 方法or属性:function updateContact(contact: Contact, attrs: ContactAttributes, callback: AsyncCallback<void>): void; 新版本信息:ohos.permission.WRITE_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function updateContact(contact: Contact, attrs?: ContactAttributes): Promise<void>; 旧版本信息: | 类名:contact; 方法or属性:function updateContact(contact: Contact, attrs?: ContactAttributes): Promise<void>; 新版本信息:ohos.permission.WRITE_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function isLocalContact(id: number): Promise<boolean>; 旧版本信息: | 类名:contact; 方法or属性:function isLocalContact(id: number): Promise<boolean>; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.d.ts |
| 权限有变化 | 类名:contact; 方法or属性:function isMyCard(id: number): Promise<boolean>; 旧版本信息: | 类名:contact; 方法or属性:function isMyCard(id: number): Promise<boolean>; 新版本信息:ohos.permission.READ_CONTACTS | @ohos.contact.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 |
| type有变化 | 类名:Contact; 方法or属性:readonly id?: number 旧版本信息: | 类名:Contact; 方法or属性:readonly id?: number 新版本信息:?number | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:readonly key?: string 旧版本信息: | 类名:Contact; 方法or属性:readonly key?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:contactAttributes?: ContactAttributes 旧版本信息: | 类名:Contact; 方法or属性:contactAttributes?: ContactAttributes 新版本信息:?ContactAttributes | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:emails?: Email[] 旧版本信息: | 类名:Contact; 方法or属性:emails?: Email[] 新版本信息:?Email[] | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:events?: Event[] 旧版本信息: | 类名:Contact; 方法or属性:events?: Event[] 新版本信息:?Event[] | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:groups?: Group[] 旧版本信息: | 类名:Contact; 方法or属性:groups?: Group[] 新版本信息:?Group[] | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:imAddresses?: ImAddress[] 旧版本信息: | 类名:Contact; 方法or属性:imAddresses?: ImAddress[] 新版本信息:?ImAddress[] | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:phoneNumbers?: PhoneNumber[] 旧版本信息: | 类名:Contact; 方法or属性:phoneNumbers?: PhoneNumber[] 新版本信息:?PhoneNumber[] | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:portrait?: Portrait 旧版本信息: | 类名:Contact; 方法or属性:portrait?: Portrait 新版本信息:?Portrait | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:postalAddresses?: PostalAddress[] 旧版本信息: | 类名:Contact; 方法or属性:postalAddresses?: PostalAddress[] 新版本信息:?PostalAddress[] | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:relations?: Relation[] 旧版本信息: | 类名:Contact; 方法or属性:relations?: Relation[] 新版本信息:?Relation[] | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:sipAddresses?: SipAddress[] 旧版本信息: | 类名:Contact; 方法or属性:sipAddresses?: SipAddress[] 新版本信息:?SipAddress[] | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:websites?: Website[] 旧版本信息: | 类名:Contact; 方法or属性:websites?: Website[] 新版本信息:?Website[] | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:name?: Name 旧版本信息: | 类名:Contact; 方法or属性:name?: Name 新版本信息:?Name | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:nickName?: NickName 旧版本信息: | 类名:Contact; 方法or属性:nickName?: NickName 新版本信息:?NickName | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:note?: Note 旧版本信息: | 类名:Contact; 方法or属性:note?: Note 新版本信息:?Note | @ohos.contact.d.ts |
| type有变化 | 类名:Contact; 方法or属性:organization?: Organization 旧版本信息: | 类名:Contact; 方法or属性:organization?: Organization 新版本信息:?Organization | @ohos.contact.d.ts |
| type有变化 | 类名:ContactAttributes; 方法or属性:attributes: Attribute[] 旧版本信息: | 类名:ContactAttributes; 方法or属性:attributes: Attribute[] 新版本信息:Attribute[] | @ohos.contact.d.ts |
| type有变化 | 类名:Email; 方法or属性:email: string 旧版本信息: | 类名:Email; 方法or属性:email: string 新版本信息:string | @ohos.contact.d.ts |
| type有变化 | 类名:Email; 方法or属性:labelName?: string 旧版本信息: | 类名:Email; 方法or属性:labelName?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:Event; 方法or属性:labelName?: string 旧版本信息: | 类名:Event; 方法or属性:labelName?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:ImAddress; 方法or属性:labelName?: string 旧版本信息: | 类名:ImAddress; 方法or属性:labelName?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:PhoneNumber; 方法or属性:labelName?: string 旧版本信息: | 类名:PhoneNumber; 方法or属性:labelName?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:PostalAddress; 方法or属性:labelName?: string 旧版本信息: | 类名:PostalAddress; 方法or属性:labelName?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:Relation; 方法or属性:labelName?: string 旧版本信息: | 类名:Relation; 方法or属性:labelName?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:SipAddress; 方法or属性:labelName?: string 旧版本信息: | 类名:SipAddress; 方法or属性:labelName?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:Email; 方法or属性:displayName?: string 旧版本信息: | 类名:Email; 方法or属性:displayName?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:Email; 方法or属性:labelId?: number 旧版本信息: | 类名:Email; 方法or属性:labelId?: number 新版本信息:?number | @ohos.contact.d.ts |
| type有变化 | 类名:Event; 方法or属性:labelId?: number 旧版本信息: | 类名:Event; 方法or属性:labelId?: number 新版本信息:?number | @ohos.contact.d.ts |
| type有变化 | 类名:ImAddress; 方法or属性:labelId?: number 旧版本信息: | 类名:ImAddress; 方法or属性:labelId?: number 新版本信息:?number | @ohos.contact.d.ts |
| type有变化 | 类名:PhoneNumber; 方法or属性:labelId?: number 旧版本信息: | 类名:PhoneNumber; 方法or属性:labelId?: number 新版本信息:?number | @ohos.contact.d.ts |
| type有变化 | 类名:PostalAddress; 方法or属性:labelId?: number 旧版本信息: | 类名:PostalAddress; 方法or属性:labelId?: number 新版本信息:?number | @ohos.contact.d.ts |
| type有变化 | 类名:Relation; 方法or属性:labelId?: number 旧版本信息: | 类名:Relation; 方法or属性:labelId?: number 新版本信息:?number | @ohos.contact.d.ts |
| type有变化 | 类名:SipAddress; 方法or属性:labelId?: number 旧版本信息: | 类名:SipAddress; 方法or属性:labelId?: number 新版本信息:?number | @ohos.contact.d.ts |
| type有变化 | 类名:Event; 方法or属性:eventDate: string 旧版本信息: | 类名:Event; 方法or属性:eventDate: string 新版本信息:string | @ohos.contact.d.ts |
| type有变化 | 类名:Group; 方法or属性:groupId?: number 旧版本信息: | 类名:Group; 方法or属性:groupId?: number 新版本信息:?number | @ohos.contact.d.ts |
| type有变化 | 类名:Group; 方法or属性:title: string 旧版本信息: | 类名:Group; 方法or属性:title: string 新版本信息:string | @ohos.contact.d.ts |
| type有变化 | 类名:Holder; 方法or属性:readonly bundleName: string 旧版本信息: | 类名:Holder; 方法or属性:readonly bundleName: string 新版本信息:string | @ohos.contact.d.ts |
| type有变化 | 类名:Holder; 方法or属性:readonly displayName?: string 旧版本信息: | 类名:Holder; 方法or属性:readonly displayName?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:Holder; 方法or属性:holderId?: number 旧版本信息: | 类名:Holder; 方法or属性:holderId?: number 新版本信息:?number | @ohos.contact.d.ts |
| type有变化 | 类名:ImAddress; 方法or属性:imAddress: string 旧版本信息: | 类名:ImAddress; 方法or属性:imAddress: string 新版本信息:string | @ohos.contact.d.ts |
| type有变化 | 类名:Name; 方法or属性:familyName?: string 旧版本信息: | 类名:Name; 方法or属性:familyName?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:Name; 方法or属性:familyNamePhonetic?: string 旧版本信息: | 类名:Name; 方法or属性:familyNamePhonetic?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:Name; 方法or属性:fullName: string 旧版本信息: | 类名:Name; 方法or属性:fullName: string 新版本信息:string | @ohos.contact.d.ts |
| type有变化 | 类名:Name; 方法or属性:givenName?: string 旧版本信息: | 类名:Name; 方法or属性:givenName?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:Name; 方法or属性:givenNamePhonetic?: string 旧版本信息: | 类名:Name; 方法or属性:givenNamePhonetic?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:Name; 方法or属性:middleName?: string 旧版本信息: | 类名:Name; 方法or属性:middleName?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:Name; 方法or属性:middleNamePhonetic?: string 旧版本信息: | 类名:Name; 方法or属性:middleNamePhonetic?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:Name; 方法or属性:namePrefix?: string 旧版本信息: | 类名:Name; 方法or属性:namePrefix?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:Name; 方法or属性:nameSuffix?: string 旧版本信息: | 类名:Name; 方法or属性:nameSuffix?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:NickName; 方法or属性:nickName: string 旧版本信息: | 类名:NickName; 方法or属性:nickName: string 新版本信息:string | @ohos.contact.d.ts |
| type有变化 | 类名:Note; 方法or属性:noteContent: string 旧版本信息: | 类名:Note; 方法or属性:noteContent: string 新版本信息:string | @ohos.contact.d.ts |
| type有变化 | 类名:Organization; 方法or属性:name: string 旧版本信息: | 类名:Organization; 方法or属性:name: string 新版本信息:string | @ohos.contact.d.ts |
| type有变化 | 类名:Organization; 方法or属性:title?: string 旧版本信息: | 类名:Organization; 方法or属性:title?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:PhoneNumber; 方法or属性:phoneNumber: string 旧版本信息: | 类名:PhoneNumber; 方法or属性:phoneNumber: string 新版本信息:string | @ohos.contact.d.ts |
| type有变化 | 类名:Portrait; 方法or属性:uri: string 旧版本信息: | 类名:Portrait; 方法or属性:uri: string 新版本信息:string | @ohos.contact.d.ts |
| type有变化 | 类名:PostalAddress; 方法or属性:city?: string 旧版本信息: | 类名:PostalAddress; 方法or属性:city?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:PostalAddress; 方法or属性:country?: string 旧版本信息: | 类名:PostalAddress; 方法or属性:country?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:PostalAddress; 方法or属性:neighborhood?: string 旧版本信息: | 类名:PostalAddress; 方法or属性:neighborhood?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:PostalAddress; 方法or属性:pobox?: string 旧版本信息: | 类名:PostalAddress; 方法or属性:pobox?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:PostalAddress; 方法or属性:postalAddress: string 旧版本信息: | 类名:PostalAddress; 方法or属性:postalAddress: string 新版本信息:string | @ohos.contact.d.ts |
| type有变化 | 类名:PostalAddress; 方法or属性:postcode?: string 旧版本信息: | 类名:PostalAddress; 方法or属性:postcode?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:PostalAddress; 方法or属性:region?: string 旧版本信息: | 类名:PostalAddress; 方法or属性:region?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:PostalAddress; 方法or属性:street?: string 旧版本信息: | 类名:PostalAddress; 方法or属性:street?: string 新版本信息:?string | @ohos.contact.d.ts |
| type有变化 | 类名:Relation; 方法or属性:relationName: string 旧版本信息: | 类名:Relation; 方法or属性:relationName: string 新版本信息:string | @ohos.contact.d.ts |
| type有变化 | 类名:SipAddress; 方法or属性:sipAddress: string 旧版本信息: | 类名:SipAddress; 方法or属性:sipAddress: string 新版本信息:string | @ohos.contact.d.ts |
| type有变化 | 类名:Website; 方法or属性:website: string 旧版本信息: | 类名:Website; 方法or属性:website: string 新版本信息:string | @ohos.contact.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-accessibility
harmony 鸿蒙js-apidiff-communication