TVPbkContactStoreEvent Class Reference

#include <app/MVPbkContactStoreObserver.h>

Link against: VPbkVCardEng.lib

class TVPbkContactStoreEvent

Detailed Description

A class for a contact store event.

The contact store event contains the type of the event and possibly a contact link to a changed contact.

Member Attribute Documentation

iContactLink

MVPbkContactLink *iContactLink

Ref: Link to the contact that is accociated with the event or NULL. The link is valid only during HandleStoreEventL function call and client can not take the ownership of the instance.

iEventType

Own: Type of the event that has happened.

iSpare

TAny *iSpare

Own: Spare for future extension.

iSpare2

TAny *iSpare2

Own: Spare for future extension.

Member Enumeration Documentation

Enum TVPbkContactStoreEventType

The type of the event

EnumeratorValueDescription
ENullEventNo event occured.
EContactAddedA contact has been added to the contact store.
EContactDeletedA contact has been deleted from the contact store.
EContactChangedAn existing contact in the contact store has been changed.
EGroupAddedA contact group has been added to the contact store.
EGroupDeletedA contact group has been deleted from the contact store.
EGroupChangedAn existing contact group in the contact store has been changed.
EStoreBackupBeginningContact store backup is beginning.
EStoreRestoreBeginningContact store restore is beginning.
EStoreBackupRestoreCompletedContact store backup or restore is completed.
EUnknownChangesThere has been some unknown changes in the contact store.

Constructor & Destructor Documentation

TVPbkContactStoreEvent ( TVPbkContactStoreEventType, MVPbkContactLink * )

TVPbkContactStoreEvent(TVPbkContactStoreEventTypeaEventType,
MVPbkContactLink *aContactLink
)[inline]

Constructor

ParameterDescription
aEventTypeThe type of the contact store event
aContactLinkThe identifier of the changed contact or NULL. The link is not owned by this class.