MVPbkContactStoreObserver Class Reference

class MVPbkContactStoreObserver

An observer interface for contact store events

The client of the contact store must implement this interface. The contact store informs client about its state using this interface. The client is also able to get store events about changes in the store content.

Constructor & Destructor Documentation


~MVPbkContactStoreObserver ( ) [protected, inline, virtual]

Member Functions Documentation


TAny * ContactStoreObserverExtension ( TUid ) [inline, virtual]

Returns an extension point for this interface or NULL.



HandleStoreEventL(MVPbkContactStore &, TVPbkContactStoreEvent)

void HandleStoreEventL ( MVPbkContactStore & aContactStore,
TVPbkContactStoreEvent aStoreEvent
) [pure virtual]

Called when changes occur in the contact store.



MVPbkContactStore & aContactStore A store whose event it is.
TVPbkContactStoreEvent aStoreEvent The event that has occurred.

StoreReady(MVPbkContactStore &)

void StoreReady ( MVPbkContactStore & aContactStore ) [pure virtual]

Called when a contact store is ready to use.


MVPbkContactStore & aContactStore The store that is ready.

StoreUnavailable(MVPbkContactStore &, TInt)

void StoreUnavailable ( MVPbkContactStore & aContactStore,
TInt aReason
) [pure virtual]

Called when a contact store becomes unavailable.

Client may inspect the reason of the unavailability and decide whether or not it will keep the store opened (ie. listen to the store events).


MVPbkContactStore & aContactStore The store that became unavailable.
TInt aReason The reason why the store is unavailable. This is one of the system wide error codes.