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.
Public Member Functions | |
---|---|
TAny * | ContactStoreObserverExtension(TUid) |
void | HandleStoreEventL(MVPbkContactStore &, TVPbkContactStoreEvent) |
void | StoreReady(MVPbkContactStore &) |
void | StoreUnavailable(MVPbkContactStore &, TInt) |
Protected Member Functions | |
---|---|
~MVPbkContactStoreObserver() |
TAny * | ContactStoreObserverExtension | ( | TUid | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
an extension point for this interface or NULL.
TUid |
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. |
void | StoreReady | ( | MVPbkContactStore & | aContactStore | ) | [pure virtual] |
Called when a contact store is ready to use.
MVPbkContactStore & aContactStore | The store that is ready. |
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. |