MVPbkContactFindFromStoresObserver Class Reference

#include <app/MVPbkContactFindFromStoresObserver.h>

Link against: VPbkEng.lib

class MVPbkContactFindFromStoresObserver

Detailed Description

An observer interface for finding contacts from the stores. This interface is used to signal find clients of the operations progress.

Constructor & Destructor Documentation

~MVPbkContactFindFromStoresObserver ( )

~MVPbkContactFindFromStoresObserver()[protected, inline, virtual]

Destructor.

Member Function Documentation

ContactFindFromStoresObserverExtension ( TUid )

TAny *ContactFindFromStoresObserverExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

Returns: Extension point or NULL.

FindFromStoreFailed ( MVPbkContactStore &, TInt )

voidFindFromStoreFailed(MVPbkContactStore &aStore,
TIntaError
)[pure virtual]

Called when a find operation of one store fails. Doesn't stop the find from other stores in the case there are multiple stores.

ParameterDescription
aStoreThe failed store.
aErrorA system wide error code from the store implementation.

FindFromStoreSucceededL ( MVPbkContactStore &, MVPbkContactLinkArray * )

voidFindFromStoreSucceededL(MVPbkContactStore &aStore,
MVPbkContactLinkArray *aResultsFromStore
)[pure virtual]

This is called when one store completes its find. If this leaves then FindFromStoreFailed is called. Client takes the ownership of all results immediately!

FindFromStoresOperationComplete is called after all stores have called either this or FindFromStoreFailed.

ParameterDescription
aStoreThe store whose find results are available
aResultsFromStoreThe find results from the store. Client takes the ownership immediately!

FindFromStoresOperationComplete ( )

voidFindFromStoresOperationComplete()[pure virtual]

This is called after all stores have called either FindFromStoreSucceed or FindFromStoreFailed. It's called also when there are no stores that offer find operation.