MNcdPurchaseOperationObserver Class Reference

class MNcdPurchaseOperationObserver

Observer interface for purchase operations

Purchase operation users should implement this interface to be able to receive purchase operation callbacks.

MNcdPurchaseOperation

Member Functions Documentation

OperationComplete(MNcdPurchaseOperation &, TInt)

void OperationComplete ( MNcdPurchaseOperation & aOperation,
TInt aError
) [pure virtual]

Called when an operation has been completed.

Parameters

MNcdPurchaseOperation & aOperation The operation that sent the event.
TInt aError Error code for operation completion. KErrNone for successful completion, otherwise a system wide error code.

PurchaseProgress(MNcdPurchaseOperation &, TNcdProgress)

void PurchaseProgress ( MNcdPurchaseOperation & aOperation,
TNcdProgress aProgress
) [pure virtual]

Called when a purchase operation has progressed.

Parameters

MNcdPurchaseOperation & aOperation The operation that sent the event.
TNcdProgress aProgress Progress of the operation.

QueryReceived(MNcdPurchaseOperation &, MNcdQuery *)

void QueryReceived ( MNcdPurchaseOperation & aOperation,
MNcdQuery * aQuery
) [pure virtual]

Called when a query has been received for an operation.

Note:

Querys need to be completed with MNcdOperation::CompleteQueryL() to continue the operation! Alternatively, the operation must be cancelled.

MNcdOperation::CompleteQueryL()

Parameters

MNcdPurchaseOperation & aOperation Uncounted reference to the operation that sent the event.
MNcdQuery * aQuery Pointer to the query object that needs to be completed. Counted, Release() must be called after use.