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()

~MVPbkContactStoreObserver()[protected, inline, virtual]

Member Functions Documentation

ContactStoreObserverExtension(TUid)

TAny *ContactStoreObserverExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

an extension point for this interface or NULL.

Parameters

TUid

HandleStoreEventL(MVPbkContactStore &, TVPbkContactStoreEvent)

voidHandleStoreEventL(MVPbkContactStore &aContactStore,
TVPbkContactStoreEventaStoreEvent
)[pure virtual]

Called when changes occur in the contact store.

TVPbkContactStoreEvent

Parameters

MVPbkContactStore & aContactStoreA store whose event it is.
TVPbkContactStoreEvent aStoreEventThe event that has occurred.

StoreReady(MVPbkContactStore &)

voidStoreReady(MVPbkContactStore &aContactStore)[pure virtual]

Called when a contact store is ready to use.

Parameters

MVPbkContactStore & aContactStoreThe store that is ready.

StoreUnavailable(MVPbkContactStore &, TInt)

voidStoreUnavailable(MVPbkContactStore &aContactStore,
TIntaReason
)[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).

Parameters

MVPbkContactStore & aContactStoreThe store that became unavailable.
TInt aReasonThe reason why the store is unavailable. This is one of the system wide error codes.