Lines Matching refs:contact
3 …ntacts easily. It provides a series of APIs for you to quickly integrate contact management functi…
5 For details, see [@ohos.contact](../reference/apis-contacts-kit/js-apis-contact.md).
10 …ng, deleting, modifying, and querying contact information. You can also use the Picker function to…
14 - [Contact Selection with Picker](#contact-selection)
24 - [Contact Management](#contact-management-restricted-permission)
26 - [Contact Selection](#contact-selection-restricted-permission)
31 When you select a contact, the contact list is displayed in Picker mode to facilitate selection. Yo…
36 import { contact } from '@kit.ContactsKit';
40 2. Call the contact API to display the contact list, and click the desired contact.
43 contact.selectContacts({
55 3. View the returned contact data.
62 …To select a contact, you need to declare the **ohos.permission.WRITE_CONTACTS** permission to call…
66 3. Perform the corresponding operation on the contact.
70 import { contact } from '@kit.ContactsKit';
77 contact.selectContacts();
88 To implement contact management for an application, use the **permissions** API to request for the …
92 …- To delete a contact, you need to declare the **ohos.permission.WRITE_CONTACTS** permission to ca…
93 …- To update a contact, you need to declare the **ohos.permission.WRITE_CONTACTS** permission to ca…
94 …- To query a contact, you need to declare the **ohos.permission.READ_CONTACTS** permission to call…
100 3. Perform the corresponding operation on the contact.
105 import { contact } from '@kit.ContactsKit';
113 const contactInfo: contact.Contact = {
119 contact.addContact(context, contactInfo, (err, data) => {