Class ContactsVcard
Definition
- Namespace:
- Tizen.Pims.Contacts
- Assembly:
- Tizen.Pims.Contacts.dll
- API Level:
- 4
A class for parsing and making the vCards.
C#Copypublic static class ContactsVcard : object
- Inheritance
-
ContactsVcard
Remarks
It's based on the vCard v3.0 specification.
Methods
Declaration
C#Copypublic static string Compose(ContactsRecord record)
Parameters
Type | Name | Description |
---|---|---|
ContactsRecord | record | The contacts record. |
Returns
Type | Description |
---|---|
String | The vCard stream. |
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/contact.read
Feature: http://tizen.org/feature/contact
Declaration
C#Copypublic static ContactsList Parse(string stream)
Parameters
Type | Name | Description |
---|---|---|
String | stream | The vCard stream. |
Returns
Type | Description |
---|---|
ContactsList | The contacts list. |
API Level: 4
Feature: http://tizen.org/feature/contact
View Source
ParseForEach(String, ParseCallback)
Retrieves all the contacts with a record from a vCard file.
Declaration
C#Copypublic static void ParseForEach(string path, ParseCallback callback)
Parameters
Type | Name | Description |
---|---|---|
String | path | The file path of a vCard stream file. |
ParseCallback | callback | The callback function to invoke. |