CVPbkContactCopier Class Reference
class CVPbkContactCopier : public CBase |
Virtual Phonebook contact copier. Copies source contacts to the target store according to copying rules.
VPbkEng.lib
Constructor & Destructor Documentation
CVPbkContactCopier(CVPbkContactManager &)
Member Functions Documentation
CopyContactsL(TUint32, const MVPbkContactLinkArray &, MVPbkContactStore *, CVPbkContactLinkArray &, MVPbkBatchOperationObserver &)
Copies a set of contacts to the target store.
NewL(CVPbkContactManager &)
Creates a new copier instance. Remember to open the stores first before starting any copy operation.
Member Enumerations Documentation
Enum TVPbkContactCopyFlags
A set of flags for copying. Fastest copy is EVPbkSimpleContactCopy.
Enumerators
EVPbkSimpleContactCopy = 0 |
Copies a field if the target store supports the field type. Does not perform additional checks.
|
EVPbkUseStoreSpecificCopyPolicy = 0x01 |
Uses a store specific copy policy if found for the target store. Can do e.g field type conversion between source and target field types. Falls back to simple copy if the copy policy was not found for the store.
|
EVPbkUsePlatformSpecificDuplicatePolicy = 0x02 |
Finds duplicates before saving a contact if there is a copy policy for the store that can handle the possible merge of new and existing contact data. Falls back to simple copy if the copy policy was not found for the store.
|
Member Data Documentation
CVPbkContactManager & iContactManager
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.