MVPbkContactStoreInfo Class Reference

class MVPbkContactStoreInfo

A contact store information interface.

The interface offers access to contact store information that can change runtime.

Constructor & Destructor Documentation

~MVPbkContactStoreInfo()

~MVPbkContactStoreInfo ( ) [inline, virtual]

Destructor.

Member Functions Documentation

ContactStoreInfoExtension(TUid)

TAny * ContactStoreInfoExtension ( TUid ) [inline, virtual]

Returns an extension point for this interface or NULL.

Parameters

TUid

FreeMemoryL()

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.

MaxNumberOfContactsL()

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.

MaxNumberOfGroupsL()

TInt MaxNumberOfGroupsL ( ) const [pure virtual]

Returns the maximum number of groups that the store can have

NumberOfContactsL()

TInt NumberOfContactsL ( ) const [pure virtual]

Returns the current number of contacts in the store

NumberOfGroupsL()

TInt NumberOfGroupsL ( ) const [pure virtual]

Returns the current amount of groups in the store.

ReservedMemoryL()

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.