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)

voidOperationComplete(MNcdPurchaseOperation &aOperation,
TIntaError
)[pure virtual]

Called when an operation has been completed.

Parameters

MNcdPurchaseOperation & aOperationThe operation that sent the event.
TInt aErrorError code for operation completion. KErrNone for successful completion, otherwise a system wide error code.

PurchaseProgress(MNcdPurchaseOperation &, TNcdProgress)

voidPurchaseProgress(MNcdPurchaseOperation &aOperation,
TNcdProgressaProgress
)[pure virtual]

Called when a purchase operation has progressed.

Parameters

MNcdPurchaseOperation & aOperationThe operation that sent the event.
TNcdProgress aProgressProgress of the operation.

QueryReceived(MNcdPurchaseOperation &, MNcdQuery *)

voidQueryReceived(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 & aOperationUncounted reference to the operation that sent the event.
MNcdQuery * aQueryPointer to the query object that needs to be completed. Counted, Release() must be called after use.