MVPbkContactDuplicatePolicy Class Reference

class MVPbkContactDuplicatePolicy

Virtual Phonebook interface for duplicate contact find policy.

Constructor & Destructor Documentation

~MVPbkContactDuplicatePolicy()

~MVPbkContactDuplicatePolicy()[inline, virtual]

Destructor

Member Functions Documentation

ContactDuplicatePolicyExtension(TUid)

TAny *ContactDuplicatePolicyExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

Parameters

TUid

FindDuplicatesL(const MVPbkBaseContact &, MVPbkContactStore &, RPointerArray< MVPbkStoreContact > &, MVPbkContactFindObserver &, TInt)

MVPbkContactOperationBase *FindDuplicatesL(const MVPbkBaseContact &aContact,
MVPbkContactStore &aTargetStore,
RPointerArray< MVPbkStoreContact > &aDuplicates,
MVPbkContactFindObserver &aObserver,
TIntaMaxDuplicatesToFind
)[pure virtual]

Starts asynchronous duplicate find.

Parameters

const MVPbkBaseContact & aContactThe contact whose duplicates are searched for.
MVPbkContactStore & aTargetStoreThe target store for duplicate find.
RPointerArray< MVPbkStoreContact > & aDuplicatesAn array that contains the duplicate contacts after operation is ready.
MVPbkContactFindObserver & aObserverThe observer that is called after find is done.
TInt aMaxDuplicatesToFindThe limit of the contacts that are in a worst case returned as a result. Usually 1 is enough.