class MVPbkContactStoreInfo |
A contact store information interface.
The interface offers access to contact store information that can change runtime.
Public Member Functions | |
---|---|
~MVPbkContactStoreInfo () | |
TAny * | ContactStoreInfoExtension ( TUid ) |
TInt64 | FreeMemoryL () |
TInt | MaxNumberOfContactsL () |
TInt | MaxNumberOfGroupsL () |
TInt | NumberOfContactsL () |
TInt | NumberOfGroupsL () |
TInt64 | ReservedMemoryL () |
TAny * | ContactStoreInfoExtension | ( | TUid | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
TUid |
TInt64 | FreeMemoryL | ( | ) | const [pure virtual] |
Returns the amount of memory in bytes that can be used for the new contacts.
This is practical to implement for stores whose database is in the file system. All store implementations don't know this information and in that case zero is returned.
TInt | MaxNumberOfContactsL | ( | ) | const [pure virtual] |
Returns the maximum number of contacts that the store can have
Client must always check the return value and compare it to to the KVPbkStoreInfoUnlimitedNumber.
TInt | MaxNumberOfGroupsL | ( | ) | const [pure virtual] |
Returns the maximum number of groups that the store can have
TInt | NumberOfContactsL | ( | ) | const [pure virtual] |
Returns the current number of contacts in the store
TInt | NumberOfGroupsL | ( | ) | const [pure virtual] |
Returns the current amount of groups in the store.
TInt64 | ReservedMemoryL | ( | ) | const [pure virtual] |
Returns the amount of memory in bytes that this store reserves in the media it resides.
This is practical to implement for stores whose database is in the file system. All store implementations don't know their memory consumption and in that case zero is returned.
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.