#include <app/cntdb.h>
class CIdleFinder : public CIdle |
Public Member Functions | |
---|---|
~CIdleFinder() | |
IMPORT_C TInt | Error() |
IMPORT_C TBool | IsComplete() |
virtual TInt | RunError(TInt) |
IMPORT_C CContactIdArray * | TakeContactIds() |
Inherited Attributes | |
---|---|
CActive::iStatus | |
CIdle::iCallBack |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Provides information about the progress of an asynchronous contact database search, and can be used to get the results of the search.
An instance of this class is returned by calls to CContactDatabase::FindAsyncL() and CContactDatabase::FindInTextDefAsyncL().
IMPORT_C TInt | Error | ( | ) | const |
Get the last asynchronous find error.
Returns: The last asynchronous find error. Signals an error while searching the database. The error code, if any error occurs during the search operation.
IMPORT_C TBool | IsComplete | ( | ) | const |
Determine if the asynchronous find is complete.
Returns: ETrue If asynchronous find is complete, EFalse otherwise. Checks whether the contact database search is complete. ETrue if search is complete, otherwise EFalse.
IMPORT_C CContactIdArray * | TakeContactIds | ( | ) |
Get and take ownership of the Contact IDs.
Returns: Array of Contact IDs. Gets an array of contact item IDs where the match is found. Array of contact item IDs.