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 &)

voidOperationComplete(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 & aOperationthe completed operation

StepComplete(MVPbkContactOperationBase &, TInt)

voidStepComplete(MVPbkContactOperationBase &aOperation,
TIntaStepSize
)[pure virtual]

Called when one step of the operation is completed.

Parameters

MVPbkContactOperationBase & aOperationOperation whose step has completed
TInt aStepSizeSize of the performed step

StepFailed(MVPbkContactOperationBase &, TInt, TInt)

TBool StepFailed(MVPbkContactOperationBase &aOperation,
TIntaStepSize,
TIntaError
)[pure virtual]

Called when one step of the operation fails.

Parameters

MVPbkContactOperationBase & aOperationOperation whose step has failed
TInt aStepSizeSize of the performed step
TInt aErrorError that occured