MVPbkContactFindObserver Class Reference

#include <app/MVPbkContactFindObserver.h>

class MVPbkContactFindObserver
Public Member Functions
virtual TAny *ContactFindObserverExtension(TUid)
pure virtual voidFindCompleteL(MVPbkContactLinkArray *)
pure virtual voidFindFailed(TInt)
Protected Member Functions
virtual ~MVPbkContactFindObserver()

Detailed Description

Virtual Phonebook Find observer. This interface is used to signal find clients of the operation progress and give the find results to the client.

Constructor & Destructor Documentation

~MVPbkContactFindObserver ( )

~MVPbkContactFindObserver()[protected, inline, virtual]


Member Function Documentation

ContactFindObserverExtension ( TUid )

TAny *ContactFindObserverExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

Returns: Extension point or NULL.

FindCompleteL ( MVPbkContactLinkArray * )

voidFindCompleteL(MVPbkContactLinkArray *aResults)[pure virtual]

Called when find is complete. Caller takes ownership of the results In case of an error during find, the aResults may contain only partial results of the find

aResultsArray of contact links that matched the find Callee must take ownership of this object in the start of the function, ie. in case the function leaves the results must be destroyed. The find operation can be destroyed at the end of this callback.

FindFailed ( TInt )

voidFindFailed(TIntaError)[pure virtual]

Called in case the find fails for some reason. The find operation can be destroyed at the end of this callback.

aErrorOne of the system wide error codes. KErrNotReady if store is not ready (not open or unavailable)