MVPbkBatchOperationObserver Class Reference
#include
<app/MVPbkBatchOperationObserver.h>
class MVPbkBatchOperationObserver |
Detailed Description
Virtual Phonebook asynchronous multi contact operation observer interface. This observer interface is used to signal the client during a batch operation, which involves operations to e.g. multiple contacts. The client is signaled during the operations steps and then signaled of the completion of the whole operation.
Constructor & Destructor Documentation
~MVPbkBatchOperationObserver ( )
~MVPbkBatchOperationObserver | ( | ) | [protected, inline, virtual] |
Member Function Documentation
BatchOperationObserverExtension ( TUid )
TAny * | BatchOperationObserverExtension | ( | TUid | | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
Returns: Extension point or NULL
OperationComplete ( MVPbkContactOperationBase & )
Called when operation is completed. This is called when all steps are executed. If EFalse is returned in StepFailed() call this function is NOT called.
Parameter | Description | aOperation | the completed operation |
StepComplete ( MVPbkContactOperationBase &, TInt )
Called when one step of the operation is completed.
Parameter | Description | aOperation | Operation whose step has completed |
aStepSize | Size of the performed step |
StepFailed ( MVPbkContactOperationBase &, TInt, TInt )
Called when one step of the operation fails.
Parameter | Description | aOperation | Operation whose step has failed |
aStepSize | Size of the performed step |
aError | Error that occured |
Returns: ETrue if the batch operation should continue, EFalse otherwise NOTE! If returning ETrue the operation can NOT be deleted. Operation should be deleted in OperationCompleted() function. If returning EFalse the operation can be deleted safely.