EBookContacts.Contact
Description: Reference for EBookContacts.Contact

### Class

# EBookContactsContact

#### Description

    class EBookContacts.Contact : EBookContacts.VCard
    {
      /* No available fields */
    }

No description available.

#### Hierarchy

#### Ancestors

- EVCard
- GObject

#### Constructors

###### e_contact_new

Creates a new, blank `EContact`.

###### e_contact_new_from_vcard

Creates a new `EContact` based on a vcard.

###### e_contact_new_from_vcard_with_uid

Creates a new `EContact` based on a vcard and a predefined UID.

since: 3.4

#### Functions

###### e_contact_field_id

Gets the `EContactField` corresponding to the `field_name`.

###### e_contact_field_id_from_vcard

Gets the `EContactField` corresponding to the `vcard_field`.

since: 2.26

###### e_contact_field_is_string

Returns whether the `field_id` is of a string type, thus it can be used with e_contact_get_const().

since: 3.16

###### e_contact_field_name

Gets the string representation of `field_id`.

###### e_contact_field_type

Gets the `GType` used for this contact field, this indicates what kind of value can be passed to e_contact_set().

since: 3.8

###### e_contact_pretty_name

Gets a human-readable, translated string representation of `field_id`.

###### e_contact_vcard_attribute

Gets the vcard attribute corresponding to `field_id`, as a string.

#### Instance methods

###### e_contact_duplicate

Creates a copy of `contact`.

###### e_contact_get

Gets the value of `contact`‘s field specified by `field_id`.

###### e_contact_get_attributes

Gets a list of the vcard attributes for `contact`‘s `field_id`.

###### e_contact_get_attributes_set

Gets a list of the vcard attributes for `contact`‘s `field_ids`.

since: 3.16

###### e_contact_get_const

Gets the value of `contact`‘s field specified by `field_id`, caching the result so it can be freed later. Use `e_contact_field_is_string()` to check whether the field can be used here.

###### e_contact_inline_local_photos

Tries to modify any `EContactPhoto` fields which are stored on the local file system as type `E_CONTACT_PHOTO_TYPE_URI` to be inlined and stored as `E_CONTACT_PHOTO_TYPE_INLINED` instead.

since: 3.4

###### e_contact_set

Sets the value of `contact`‘s field specified by `field_id` to `value`.

###### e_contact_set_attributes

Sets the vcard attributes for `contact`‘s `field_id`. Attributes are added to the contact in the same order as they are in `attributes`.

##### Methods inherited from EVCard (19)

###### e_vcard_add_attribute

Prepends `attr` to `evc`. This takes ownership of `attr`.

###### e_vcard_add_attribute_with_value

Prepends `attr` to `evcard`, setting it to `value`. This takes ownership of `attr`.

###### e_vcard_add_attribute_with_values

Prepends `attr` to `evcard`, assigning the list of values to it. This takes ownership of `attr`.

###### e_vcard_append_attribute

Appends `attr` to `evc` to the end of a list of attributes. This takes ownership of `attr`.

since: 2.32

###### e_vcard_append_attribute_with_value

Appends `attr` to `evcard`, setting it to `value`. This takes ownership of `attr`.

since: 2.32

###### e_vcard_append_attribute_with_values

Appends `attr` to `evcard`, assigning the list of values to it. This takes ownership of `attr`.

since: 2.32

###### e_vcard_construct

Constructs the existing `EVCard`, `evc`, setting its vCard data to `str`.

###### e_vcard_construct_full

Similar to e_vcard_construct_with_uid(), but can also be used with an `str` that is not `NULL` terminated.

since: 3.12

###### e_vcard_construct_with_uid

Constructs the existing `EVCard`, `evc`, setting its vCard data to `str`, and adding a new UID attribute with the value given in `uid` (if `uid` is non-`NULL`).

since: 3.4

###### e_vcard_dump_structure

Prints a dump of `evc`‘s structure to stdout. Used for debugging.

###### e_vcard_get_attribute

Get the attribute `name` from `evc`. The `EVCardAttribute` is owned by `evcard` and should not be freed. If the attribute does not exist, `NULL` is returned.

###### e_vcard_get_attribute_if_parsed

Similar to `e_vcard_get_attribute()` but this method will not attempt to parse the vCard if it is not already parsed.

since: 3.4

###### e_vcard_get_attributes

Gets the list of all attributes from `evcard`. The list and its contents are owned by `evcard`, and must not be freed.

###### e_vcard_is_parsed

Check if the `evc` has been parsed already, as `EVCard` implements lazy parsing of its vCard data. Used for debugging.

since: 3.2

###### e_vcard_remove_attribute

Removes `attr` from `evc` and frees it. This takes ownership of `attr`.

###### e_vcard_remove_attributes

Removes all the attributes with group name and attribute name equal to the passed in values. If `attr_group` is `NULL` or an empty string, it removes all the attributes with passed in name irrespective of their group names.

###### e_vcard_to_string

Exports `evc` to a string representation, specified by the `format` argument.

###### e_vcard_util_dup_x_attribute

No description available.

since: 3.26

###### e_vcard_util_set_x_attribute

Sets an “X-” attribute `x_name` to value `value` in `vcard`, or removes it from `vcard`, when `value` is `NULL`.

since: 3.26

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### EBookContacts.Contact:Rev

No description available.

###### EBookContacts.Contact:address

No description available.

###### EBookContacts.Contact:address-home

No description available.

###### EBookContacts.Contact:address-label-home

No description available.

###### EBookContacts.Contact:address-label-other

No description available.

###### EBookContacts.Contact:address-label-work

No description available.

###### EBookContacts.Contact:address-other

No description available.

###### EBookContacts.Contact:address-work

No description available.

###### EBookContacts.Contact:anniversary

No description available.

###### EBookContacts.Contact:assistant

No description available.

###### EBookContacts.Contact:assistant-phone

No description available.

###### EBookContacts.Contact:birth-date

No description available.

###### EBookContacts.Contact:blog-url

No description available.

###### EBookContacts.Contact:book-uid

No description available.

###### EBookContacts.Contact:business-fax

No description available.

###### EBookContacts.Contact:business-phone

No description available.

###### EBookContacts.Contact:business-phone-2

No description available.

###### EBookContacts.Contact:callback-phone

No description available.

###### EBookContacts.Contact:caluri

No description available.

###### EBookContacts.Contact:car-phone

No description available.

###### EBookContacts.Contact:categories

No description available.

###### EBookContacts.Contact:category-list

No description available.

###### EBookContacts.Contact:company-phone

No description available.

###### EBookContacts.Contact:email

No description available.

###### EBookContacts.Contact:email-1

No description available.

###### EBookContacts.Contact:email-2

No description available.

###### EBookContacts.Contact:email-3

No description available.

###### EBookContacts.Contact:email-4

No description available.

###### EBookContacts.Contact:family-name

No description available.

###### EBookContacts.Contact:fburl

No description available.

###### EBookContacts.Contact:file-as

No description available.

###### EBookContacts.Contact:full-name

No description available.

###### EBookContacts.Contact:geo

No description available.

###### EBookContacts.Contact:given-name

No description available.

###### EBookContacts.Contact:home-fax

No description available.

###### EBookContacts.Contact:home-phone

No description available.

###### EBookContacts.Contact:home-phone-2

No description available.

###### EBookContacts.Contact:homepage-url

No description available.

###### EBookContacts.Contact:icscalendar

No description available.

###### EBookContacts.Contact:id

No description available.

###### EBookContacts.Contact:im-aim

No description available.

###### EBookContacts.Contact:im-aim-home-1

No description available.

###### EBookContacts.Contact:im-aim-home-2

No description available.

###### EBookContacts.Contact:im-aim-home-3

No description available.

###### EBookContacts.Contact:im-aim-work-1

No description available.

###### EBookContacts.Contact:im-aim-work-2

No description available.

###### EBookContacts.Contact:im-aim-work-3

No description available.

###### EBookContacts.Contact:im-gadugadu

No description available.

###### EBookContacts.Contact:im-gadugadu-home-1

No description available.

###### EBookContacts.Contact:im-gadugadu-home-2

No description available.

###### EBookContacts.Contact:im-gadugadu-home-3

No description available.

###### EBookContacts.Contact:im-gadugadu-work-1

No description available.

###### EBookContacts.Contact:im-gadugadu-work-2

No description available.

###### EBookContacts.Contact:im-gadugadu-work-3

No description available.

###### EBookContacts.Contact:im-google-talk

No description available.

###### EBookContacts.Contact:im-google-talk-home-1

No description available.

###### EBookContacts.Contact:im-google-talk-home-2

No description available.

###### EBookContacts.Contact:im-google-talk-home-3

No description available.

###### EBookContacts.Contact:im-google-talk-work-1

No description available.

###### EBookContacts.Contact:im-google-talk-work-2

No description available.

###### EBookContacts.Contact:im-google-talk-work-3

No description available.

###### EBookContacts.Contact:im-groupwise

No description available.

###### EBookContacts.Contact:im-groupwise-home-1

No description available.

###### EBookContacts.Contact:im-groupwise-home-2

No description available.

###### EBookContacts.Contact:im-groupwise-home-3

No description available.

###### EBookContacts.Contact:im-groupwise-work-1

No description available.

###### EBookContacts.Contact:im-groupwise-work-2

No description available.

###### EBookContacts.Contact:im-groupwise-work-3

No description available.

###### EBookContacts.Contact:im-icq

No description available.

###### EBookContacts.Contact:im-icq-home-1

No description available.

###### EBookContacts.Contact:im-icq-home-2

No description available.

###### EBookContacts.Contact:im-icq-home-3

No description available.

###### EBookContacts.Contact:im-icq-work-1

No description available.

###### EBookContacts.Contact:im-icq-work-2

No description available.

###### EBookContacts.Contact:im-icq-work-3

No description available.

###### EBookContacts.Contact:im-jabber

No description available.

###### EBookContacts.Contact:im-jabber-home-1

No description available.

###### EBookContacts.Contact:im-jabber-home-2

No description available.

###### EBookContacts.Contact:im-jabber-home-3

No description available.

###### EBookContacts.Contact:im-jabber-work-1

No description available.

###### EBookContacts.Contact:im-jabber-work-2

No description available.

###### EBookContacts.Contact:im-jabber-work-3

No description available.

###### EBookContacts.Contact:im-matrix

No description available.

###### EBookContacts.Contact:im-matrix-home-1

No description available.

###### EBookContacts.Contact:im-matrix-home-2

No description available.

###### EBookContacts.Contact:im-matrix-home-3

No description available.

###### EBookContacts.Contact:im-matrix-work-1

No description available.

###### EBookContacts.Contact:im-matrix-work-2

No description available.

###### EBookContacts.Contact:im-matrix-work-3

No description available.

###### EBookContacts.Contact:im-msn

No description available.

###### EBookContacts.Contact:im-msn-home-1

No description available.

###### EBookContacts.Contact:im-msn-home-2

No description available.

###### EBookContacts.Contact:im-msn-home-3

No description available.

###### EBookContacts.Contact:im-msn-work-1

No description available.

###### EBookContacts.Contact:im-msn-work-2

No description available.

###### EBookContacts.Contact:im-msn-work-3

No description available.

###### EBookContacts.Contact:im-skype

No description available.

###### EBookContacts.Contact:im-skype-home-1

No description available.

###### EBookContacts.Contact:im-skype-home-2

No description available.

###### EBookContacts.Contact:im-skype-home-3

No description available.

###### EBookContacts.Contact:im-skype-work-1

No description available.

###### EBookContacts.Contact:im-skype-work-2

No description available.

###### EBookContacts.Contact:im-skype-work-3

No description available.

###### EBookContacts.Contact:im-twitter

No description available.

###### EBookContacts.Contact:im-yahoo

No description available.

###### EBookContacts.Contact:im-yahoo-home-1

No description available.

###### EBookContacts.Contact:im-yahoo-home-2

No description available.

###### EBookContacts.Contact:im-yahoo-home-3

No description available.

###### EBookContacts.Contact:im-yahoo-work-1

No description available.

###### EBookContacts.Contact:im-yahoo-work-2

No description available.

###### EBookContacts.Contact:im-yahoo-work-3

No description available.

###### EBookContacts.Contact:isdn-phone

No description available.

###### EBookContacts.Contact:list

No description available.

###### EBookContacts.Contact:list-show-addresses

No description available.

###### EBookContacts.Contact:logo

No description available.

###### EBookContacts.Contact:mailer

No description available.

###### EBookContacts.Contact:manager

No description available.

###### EBookContacts.Contact:mobile-phone

No description available.

###### EBookContacts.Contact:name

No description available.

###### EBookContacts.Contact:name-or-org

No description available.

###### EBookContacts.Contact:nickname

No description available.

###### EBookContacts.Contact:note

No description available.

###### EBookContacts.Contact:office

No description available.

###### EBookContacts.Contact:org

No description available.

###### EBookContacts.Contact:org-unit

No description available.

###### EBookContacts.Contact:other-fax

No description available.

###### EBookContacts.Contact:other-phone

No description available.

###### EBookContacts.Contact:pager

No description available.

###### EBookContacts.Contact:pgpCert

No description available.

###### EBookContacts.Contact:phone

No description available.

###### EBookContacts.Contact:photo

No description available.

###### EBookContacts.Contact:primary-phone

No description available.

###### EBookContacts.Contact:radio

No description available.

###### EBookContacts.Contact:role

No description available.

###### EBookContacts.Contact:sip

No description available.

###### EBookContacts.Contact:spouse

No description available.

###### EBookContacts.Contact:telex

No description available.

###### EBookContacts.Contact:title

No description available.

###### EBookContacts.Contact:tty

No description available.

###### EBookContacts.Contact:video-url

No description available.

###### EBookContacts.Contact:wants-html

No description available.

###### EBookContacts.Contact:x509Cert

No description available.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct EBookContactsContactClass {
      EVCardClass parent_class;
      void (* _ebook_reserved0) (
    void
      );
      void (* _ebook_reserved1) (
    void
      );
      void (* _ebook_reserved2) (
    void
      );
      void (* _ebook_reserved3) (
    void
      );
      void (* _ebook_reserved4) (
    void
      );

    }

No description available.

###### Class members

`parent_class: EVCardClass`

  No description available.

`_ebook_reserved0: void (* _ebook_reserved0) ( void )`

  No description available.

`_ebook_reserved1: void (* _ebook_reserved1) ( void )`

  No description available.

`_ebook_reserved2: void (* _ebook_reserved2) ( void )`

  No description available.

`_ebook_reserved3: void (* _ebook_reserved3) ( void )`

  No description available.

`_ebook_reserved4: void (* _ebook_reserved4) ( void )`

  No description available.