TContactDbObserverEvent Struct Reference

struct TContactDbObserverEvent

Contact database change event details. These include the type of change event and the ID of the contact item affected by the change, if relevant.

An object of this type is passed to a contact database's change observer, see MContactDbObserver::HandleDatabaseEventL() .

Public Attributes
TUint iConnectionId
TContactItemId iContactId
TContactDbObserverEventType iType

Member Data Documentation

TUint iConnectionId

TUint iConnectionId

Identifies which connection to the contacts server generated the event. Use CContactDatabase::ConnectionId() to get the ID of the current connection.

Set to zero if the event has no meaningful connection ID.

TContactItemId iContactId

TContactItemId iContactId

The ID of the contact item affected.

TContactDbObserverEventType iType

TContactDbObserverEventType iType

The change event type.