/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-telephony.md | 111 | ohos.contact | Portrait | uri: string | 新增 | 165 | ohos.contact | Group | title: string | 新增 | 178 | ohos.contact | Email | email: string | 新增 | 189 | ohos.contact | Attribute | ATTR_PHONE | 新增 | 191 | ohos.contact | Attribute | ATTR_NOTE | 新增 | 193 | ohos.contact | Attribute | ATTR_NAME | 新增 | 194 | ohos.contact | Attribute | ATTR_IM | 新增 | 200 | ohos.contact | Contact | note: Note | 新增 | 202 | ohos.contact | Contact | name: Name | 新增 | 219 …contact | contact | updateContact(contact: Contact, callback: AsyncCallback\<void>): void;<br>upda… [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v4.0-beta2/ |
H A D | js-apidiff-application.md | 82 |新增|NA|类名:contact;<br>方法or属性:function addContact(context: Context, contact: Contact, callback: Asyn… 83 |新增|NA|类名:contact;<br>方法or属性:function addContact(context: Context, contact: Contact): Promise\<numb… 85 |新增|NA|类名:contact;<br>方法or属性:function selectContacts(): Promise\<Array\<Contact>>;|@ohos.contact.d.… 121 |新增|NA|类名:contact;<br>方法or属性:function updateContact(context: Context, contact: Contact, callback: A… 123 …新增|NA|类名:contact;<br>方法or属性:function updateContact(context: Context, contact: Contact, attrs?: Con… 129 …contact;<br>方法or属性:function addContact(contact: Contact, callback: AsyncCallback\<number>): void;<… 130 …contact;<br>方法or属性:function addContact(contact: Contact): Promise\<number>;<br>旧版本信息:|类名:contact;<… 166 …contact;<br>方法or属性:function updateContact(contact: Contact, callback: AsyncCallback\<void>): void;… 167 …contact;<br>方法or属性:function updateContact(contact: Contact, attrs: ContactAttributes, callback: As… 168 …contact;<br>方法or属性:function updateContact(contact: Contact, attrs?: ContactAttributes): Promise\<v… [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-telephony.md | 111 | ohos.contact | Portrait | uri: string | Added| 165 | ohos.contact | Group | title: string | Added| 178 | ohos.contact | Email | email: string | Added| 189 | ohos.contact | Attribute | ATTR_PHONE | Added| 191 | ohos.contact | Attribute | ATTR_NOTE | Added| 193 | ohos.contact | Attribute | ATTR_NAME | Added| 194 | ohos.contact | Attribute | ATTR_IM | Added| 200 | ohos.contact | Contact | note: Note | Added| 202 | ohos.contact | Contact | name: Name | Added| 219 …contact | contact | updateContact(contact: Contact, callback: AsyncCallback\<void>): void;<br>upda… [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-application.md | 82 |新增|NA|类名:contact;<br>方法or属性:function addContact(context: Context, contact: Contact, callback: Asyn… 83 |新增|NA|类名:contact;<br>方法or属性:function addContact(context: Context, contact: Contact): Promise\<numb… 85 |新增|NA|类名:contact;<br>方法or属性:function selectContacts(): Promise\<Array\<Contact>>;|@ohos.contact.d.… 121 |新增|NA|类名:contact;<br>方法or属性:function updateContact(context: Context, contact: Contact, callback: A… 123 …新增|NA|类名:contact;<br>方法or属性:function updateContact(context: Context, contact: Contact, attrs?: Con… 135 …contact;<br>方法or属性:function addContact(contact: Contact, callback: AsyncCallback\<number>): void;<… 136 …contact;<br>方法or属性:function addContact(contact: Contact): Promise\<number>;<br>旧版本信息:|类名:contact;<… 172 …contact;<br>方法or属性:function updateContact(contact: Contact, callback: AsyncCallback\<void>): void;… 173 …contact;<br>方法or属性:function updateContact(contact: Contact, attrs: ContactAttributes, callback: As… 174 …contact;<br>方法or属性:function updateContact(contact: Contact, attrs?: ContactAttributes): Promise\<v… [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v4.0-beta2/ |
H A D | js-apidiff-application.md | 82 …: contact;<br>Method or attribute name: function addContact(context: Context, contact: Contact, ca… 83 …|Class name: contact;<br>Method or attribute name: function addContact(context: Context, contact: … 85 |Added|NA|Class name: contact;<br>Method or attribute name: function selectContacts(): Promise\<Arr… 121 …: contact;<br>Method or attribute name: function updateContact(context: Context, contact: Contact,… 122 …contact;<br>Method or attribute name: function updateContact(context: Context, contact: Contact, a… 123 …contact;<br>Method or attribute name: function updateContact(context: Context, contact: Contact, a… 129 …contact;<br>Method or attribute name: function addContact(contact: Contact, callback: AsyncCallbac… 130 …contact;<br>Method or attribute name: function addContact(contact: Contact): Promise\<number>;<br>… 166 …contact;<br>Method or attribute name: function updateContact(contact: Contact, callback: AsyncCall… 168 …contact;<br>Method or attribute name: function updateContact(contact: Contact, attrs?: ContactAttr… [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-application.md | 13 …contact;<br>方法or属性:function addContact(contact: Contact, callback: AsyncCallback\<number>): void;<… 14 …contact;<br>方法or属性:function addContact(contact: Contact): Promise\<number>;<br>旧版本信息:|类名:contact;<… 15 …contact;<br>方法or属性:function deleteContact(key: string, callback: AsyncCallback\<void>): void;<br>旧… 16 …contact;<br>方法or属性:function deleteContact(key: string): Promise\<void>;<br>旧版本信息:|类名:contact;<br>方… 17 …contact;<br>方法or属性:function updateContact(contact: Contact, callback: AsyncCallback\<void>): void;… 18 …contact;<br>方法or属性:function updateContact(contact: Contact, attrs: ContactAttributes, callback: As… 19 …contact;<br>方法or属性:function updateContact(contact: Contact, attrs?: ContactAttributes): Promise\<v… 40 |函数有变化|类名:Contact;<br>方法or属性:name: Name|类名:Contact;<br>方法or属性:name?: Name|@ohos.contact.d.ts| 42 |函数有变化|类名:Contact;<br>方法or属性:note: Note|类名:Contact;<br>方法or属性:note?: Note|@ohos.contact.d.ts| 52 |函数有变化|类名:Email;<br>方法or属性:labelId: number|类名:Email;<br>方法or属性:labelId?: number|@ohos.contact.d.ts| [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/ |
H A D | js-apidiff-application.md | 82 …: contact;<br>Method or attribute name: function addContact(context: Context, contact: Contact, ca… 83 …|Class name: contact;<br>Method or attribute name: function addContact(context: Context, contact: … 85 |Added|NA|Class name: contact;<br>Method or attribute name: function selectContacts(): Promise\<Arr… 121 …: contact;<br>Method or attribute name: function updateContact(context: Context, contact: Contact,… 122 …contact;<br>Method or attribute name: function updateContact(context: Context, contact: Contact, a… 123 …contact;<br>Method or attribute name: function updateContact(context: Context, contact: Contact, a… 135 …contact;<br>Method or attribute name: function addContact(contact: Contact, callback: AsyncCallbac… 136 …contact;<br>Method or attribute name: function addContact(contact: Contact): Promise\<number>;<br>… 172 …contact;<br>Method or attribute name: function updateContact(contact: Contact, callback: AsyncCall… 174 …contact;<br>Method or attribute name: function updateContact(contact: Contact, attrs?: ContactAttr… [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-contacts-kit/ |
H A D | js-apis-contact.md | 1 # @ohos.contact (Contacts) 49 contact.addContact( 92 contact.addContact({ 181 | contact | [Contact](#contact) | Yes | Contact information.| 498 attributes: [contact.Attribute.ATTR_NAME, contact.Attribute.ATTR_PHONE] 543 attributes: [contact.Attribute.ATTR_NAME, contact.Attribute.ATTR_PHONE] 600 attributes: [contact.Attribute.ATTR_NAME, contact.Attribute.ATTR_PHONE] 648 attributes: [contact.Attribute.ATTR_NAME, contact.Attribute.ATTR_PHONE] 1110 contact.queryMyCard({ 3762 Defines a contact. [all …]
|
H A D | Readme-EN.md | 4 - [@ohos.contact (Contact)](js-apis-contact.md)
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-contacts-kit/ |
H A D | js-apis-contact.md | 1 # @ohos.contact (联系人) 49 contact.addContact( 92 contact.addContact({ 181 | contact | [Contact](#contact) | 是 | 联系人信息。 | 498 attributes: [contact.Attribute.ATTR_NAME, contact.Attribute.ATTR_PHONE] 543 attributes: [contact.Attribute.ATTR_NAME, contact.Attribute.ATTR_PHONE] 600 attributes: [contact.Attribute.ATTR_NAME, contact.Attribute.ATTR_PHONE] 648 attributes: [contact.Attribute.ATTR_NAME, contact.Attribute.ATTR_PHONE] 1075 attributes: [contact.Attribute.ATTR_NAME, contact.Attribute.ATTR_PHONE] 1110 contact.queryMyCard({ [all …]
|
H A D | Readme-CN.md | 4 - [@ohos.contact (联系人)](js-apis-contact.md)
|
/ohos5.0/docs/en/application-dev/contacts/ |
H A D | contacts-intro.md | 5 For details, see [@ohos.contact](../reference/apis-contacts-kit/js-apis-contact.md). 14 - [Contact Selection with Picker](#contact-selection) 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. 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 … 105 import { contact } from '@kit.ContactsKit'; [all …]
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-application.md | 13 …contact;<br>Method or attribute name: function addContact(contact: Contact, callback: AsyncCallbac… 14 …contact;<br>Method or attribute name: function addContact(contact: Contact): Promise\<number>;<br>… 15 …contact;<br>Method or attribute name: function deleteContact(key: string, callback: AsyncCallback\… 16 …contact;<br>Method or attribute name: function deleteContact(key: string): Promise\<void>;<br>Old … 17 …contact;<br>Method or attribute name: function updateContact(contact: Contact, callback: AsyncCall… 18 …contact;<br>Method or attribute name: function updateContact(contact: Contact, attrs: ContactAttri… 19 …contact;<br>Method or attribute name: function updateContact(contact: Contact, attrs?: ContactAttr… 40 … name: name: Name|Class name: Contact;<br>Method or attribute name: name?: Name|@ohos.contact.d.ts| 42 … name: note: Note|Class name: Contact;<br>Method or attribute name: note?: Note|@ohos.contact.d.ts| 52 …abelId: number|Class name: Email;<br>Method or attribute name: labelId?: number|@ohos.contact.d.ts| [all …]
|
/ohos5.0/base/telephony/core_service/utils/vcard/src/ |
H A D | vcard_constructor.cpp | 46 ConstructName(contact); in ContactVCard() 47 ConstructPhones(contact); in ContactVCard() 48 ConstructRelation(contact); in ContactVCard() 49 ConstructIms(contact); in ContactVCard() 51 ConstructNickNames(contact); in ContactVCard() 52 ConstructEmails(contact); in ContactVCard() 53 ConstructPostals(contact); in ContactVCard() 55 ConstructWebsites(contact); in ContactVCard() 56 ConstructPhotos(contact); in ContactVCard() 57 ConstructNotes(contact); in ContactVCard() [all …]
|
H A D | vcard_encoder.cpp | 54 std::shared_ptr<VCardContact> contact = std::make_shared<VCardContact>(); in ContructVCard() local 55 ContructContact(contact, rawResultSet, errorCode); in ContructVCard() 60 return contructor_->ContactVCard(contact); in ContructVCard() 68 void VCardEncoder::ContructContact(std::shared_ptr<VCardContact> contact, in ContructContact() argument 92 contact->BuildContact(contactDataResultSet); in ContructContact()
|
H A D | vcard_manager.cpp | 127 for (std::shared_ptr<VCardContact> contact : listener_->GetContacts()) { in InsertContactDbAbility() 134 if (InsertContactData(rawId, contact) == TELEPHONY_ERROR) { in InsertContactDbAbility() 201 std::shared_ptr<VCardContact> contact = contactList[i]; in BatchInsertContactData() local 202 if (contact == nullptr) { in BatchInsertContactData() 207 contact->BuildContactData(rawId, contactDataValues); in BatchInsertContactData() 296 int32_t VCardManager::InsertContactData(int32_t rawId, std::shared_ptr<VCardContact> contact) in InsertContactData() argument 298 if (contact == nullptr) { in InsertContactData() 302 contact->BuildContactData(rawId, contactDataValues); in InsertContactData()
|
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | vcard_test.cpp | 605 contact->ims_.push_back(data1); 606 contact->ims_.push_back(data2); 607 contact->ims_.push_back(data3); 631 contact->sips_.push_back(data1); 632 contact->sips_.push_back(data2); 690 contact->phones_.push_back(data1); 691 contact->phones_.push_back(data2); 692 contact->phones_.push_back(data3); 853 contact->photos_.push_back(data1); 1118 contact->notes_.push_back(data1); [all …]
|
/ohos5.0/base/telephony/core_service/utils/vcard/include/ |
H A D | vcard_constructor.h | 35 std::string ContactVCard(std::shared_ptr<VCardContact> contact); 79 int32_t ConstructName(std::shared_ptr<VCardContact> contact); 80 int32_t ConstructPhones(std::shared_ptr<VCardContact> contact); 81 int32_t ConstructRelation(std::shared_ptr<VCardContact> contact); 82 int32_t ConstructIms(std::shared_ptr<VCardContact> contact); 85 int32_t ConstructEmails(std::shared_ptr<VCardContact> contact); 86 int32_t ConstructPostals(std::shared_ptr<VCardContact> contact); 89 int32_t ConstructPhotos(std::shared_ptr<VCardContact> contact); 90 int32_t ConstructNotes(std::shared_ptr<VCardContact> contact); 91 int32_t ConstructEvents(std::shared_ptr<VCardContact> contact); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/contacts/ |
H A D | contacts-intro.md | 5 详情请参考[@ohos.contact API](../reference/apis-contacts-kit/js-apis-contact.md)。 36 import { contact } from '@kit.ContactsKit'; 43 contact.selectContacts({ 70 import { contact } from '@kit.ContactsKit'; 77 contact.selectContacts(); 105 import { contact } from '@kit.ContactsKit'; 113 const contactInfo: contact.Contact = { 119 contact.addContact(context, contactInfo, (err, data) => {
|
/ohos5.0/base/telephony/core_service/test/fuzztest/vcard_fuzzer/ |
H A D | vcard_fuzzer.cpp | 136 auto contact = std::make_shared<VCardContact>(); in ContructName() local 137 contact->names_.push_back(nameData); in ContructName() 139 auto value = constructor->ContactVCard(contact); in ContructName() 166 auto contact = std::make_shared<VCardContact>(); in ContructNameData() local 167 contact->names_.push_back(nameData); in ContructNameData() 169 auto value = constructor->ContactVCard(contact); in ContructNameData() 183 auto contact = std::make_shared<VCardContact>(); in ContructRelation() local 184 contact->relations_.push_back(data1); in ContructRelation() 185 contact->relations_.push_back(data2); in ContructRelation() 207 contact->relations_.push_back(data1); in ContructRelationData() [all …]
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | how-to-group-contacts-with-alphabet.md | 87 ForEach(contactGroup.contacts,contact=>{ 91 Image(contact.icon) 93 Text(contact.name) 127 ForEach(contactGroup.contacts,contact=>{ 165 ForEach(contactGroup.contacts,contact=>{ 297 ForEach(contactGroup.contacts,contact=>{ 301 Image(contact.icon) 305 Text(contact.name)
|
/ohos5.0/base/telephony/sms_mms/test/fuzztest/gsmsmsmessage_fuzzer/ |
H A D | gsmsmsmessage_fuzzer.cpp | 144 SmsConcat contact; in SplitMessageAndCreateSubmitTest() local 145 contact.is8Bits = (size % SLOT_NUM == 1); in SplitMessageAndCreateSubmitTest() 146 contact.msgRef = size % UINT16_COUNT; in SplitMessageAndCreateSubmitTest() 147 contact.seqNum = size % UINT16_COUNT; in SplitMessageAndCreateSubmitTest() 148 contact.totalSeg = size % UINT16_COUNT; in SplitMessageAndCreateSubmitTest()
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | multi_thread_capability.md | 432 …export async function taskPoolExecuteInsert(context: common.Context, contact: Contact): Promise<vo… 434 …let task: taskPool.Task = new taskPool.Task(insert, context, contact); // insert函数调用 需使用装饰器@Concur… 684 // 读取各个属性,初始化临时变量contact 685 let contact: Contact = { 693 if (!contacts.includes(contact)) { 695 contacts.push(contact); 711 …is.count`递增,其值经JSON.stringify处理后作为`phone`字段值,附着在对象`contact`上,通过`taskPoolExecuteInsert`函数将更新后的`cont… 722 contact.phone = JSON.stringify(this.count); 724 taskPoolExecuteInsert(context, contact)); 757 taskPoolExecuteQuery(context).then((contact: Array<Contact>) => { [all …]
|
/ohos5.0/docs/zh-cn/contribute/ |
H A D | 行为准则.md | 5 如需举报侮辱、骚扰或其他不可接受的行为,您可以发送邮件至contact.openharmony@openatom.org,联系OpenHarmony技术委员会处理。 55 可以致信contact.openharmony@openatom.org,向项目团队举报滥用、骚扰及不当行为。
|
/ohos5.0/docs/en/application-dev/reference/apis-telephony-kit/ |
H A D | js-apis-sim-sys.md | 2406 …contact is added, deleted, or modified, a SIM card contact cache is maintained based on the corres… 2459 …contact is added, deleted, or modified, a SIM card contact cache is maintained based on the corres… 2518 …contact is added, deleted, or modified, a SIM card contact cache is maintained based on the corres… 2577 …contact is added, deleted, or modified, a SIM card contact cache is maintained based on the corres… 2641 …contact is added, deleted, or modified, a SIM card contact cache is maintained based on the corres… 2701 …contact is added, deleted, or modified, a SIM card contact cache is maintained based on the corres… 2765 …contact is added, deleted, or modified, a SIM card contact cache is maintained based on the corres… 2825 …contact is added, deleted, or modified, a SIM card contact cache is maintained based on the corres… 3388 Defines the contact number information. 3403 Enumerates contact types. [all …]
|