Method

EDataBookDataBookViewnotify_update_prefiltered_vcard

Declaration [src]

void
e_data_book_view_notify_update_prefiltered_vcard (
  EDataBookView* view,
  const gchar* id,
  const gchar* vcard
)

Description [src]

Notify listeners that vcard has changed. This can trigger an add, change or removal event depending on whether the change causes the contact to start matching, no longer match, or stay matching the query specified by view. This method should be preferred over e_data_book_view_notify_update() when the native representation of a contact is a vCard.

The important difference between this method and e_data_book_view_notify_update() and e_data_book_view_notify_update_vcard() is that it doesn’t match the contact against the book view query to see if it should be included, it assumes that this has been done and the contact is known to exist in the view.

Parameters

id

Type: const gchar*

The UID of this contact.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
vcard

Type: const gchar*

A plain vCard.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.