MVPbkBatchOperationObserver Class Reference

class MVPbkBatchOperationObserver

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]

Destructor.

Member Functions Documentation

BatchOperationObserverExtension(TUid)

TAny * BatchOperationObserverExtension ( TUid ) [inline, virtual]

Returns an extension point for this interface or NULL.

Parameters

TUid

OperationComplete(MVPbkContactOperationBase &)

void OperationComplete ( MVPbkContactOperationBase & aOperation ) [pure virtual]

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.

Parameters

MVPbkContactOperationBase & aOperation the completed operation

StepComplete(MVPbkContactOperationBase &, TInt)

void StepComplete ( MVPbkContactOperationBase & aOperation,
TInt aStepSize
) [pure virtual]

Called when one step of the operation is completed.

Parameters

MVPbkContactOperationBase & aOperation Operation whose step has completed
TInt aStepSize Size of the performed step

StepFailed(MVPbkContactOperationBase &, TInt, TInt)

TBool StepFailed ( MVPbkContactOperationBase & aOperation,
TInt aStepSize,
TInt aError
) [pure virtual]

Called when one step of the operation fails.

Parameters

MVPbkContactOperationBase & aOperation Operation whose step has failed
TInt aStepSize Size of the performed step
TInt aError Error that occured