Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Contact items

A contact item is an element in a contact database. Each contact item is uniquely identified in the database by a contact item ID (TContactItemId). More than one contact item ID is referred to using a contact item ID array (CContactIdArray—a wrapper class for an array of contact item IDs).

Contact items are accessed through the contacts database. Opening a contact item (using CContactDatabase::OpenL()) locks it so that it cannot be edited by another client. Closing the contact item (using CContactDatabase::CloseContactL()) releases the lock on the item without saving any changes made to it. Committing the contact item (using CContactDatabase::CommitContactL()) releases the lock and saves any changes made to it.

All contact items have the abstract base class CContactItem. Concrete implementations of the base class give types of item: