#include <app/MVPbkContactFindObserver.h>
class MVPbkContactFindObserver |
Public Member Functions | |
---|---|
virtual TAny * | ContactFindObserverExtension(TUid) |
pure virtual void | FindCompleteL(MVPbkContactLinkArray *) |
pure virtual void | FindFailed(TInt) |
Protected Member Functions | |
---|---|
virtual | ~MVPbkContactFindObserver() |
Virtual Phonebook Find observer. This interface is used to signal find clients of the operation progress and give the find results to the client.
Returns an extension point for this interface or NULL.
Returns: Extension point or NULL.
void | FindCompleteL | ( | 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
Parameter | Description |
---|---|
aResults | Array 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. |
void | FindFailed | ( | TInt | aError | ) | [pure virtual] |
Called in case the find fails for some reason. The find operation can be destroyed at the end of this callback.
Parameter | Description |
---|---|
aError | One of the system wide error codes. KErrNotReady if store is not ready (not open or unavailable) |