class MNcdPurchaseOperationObserver |
Observer interface for purchase operations
Purchase operation users should implement this interface to be able to receive purchase operation callbacks.
Public Member Functions | |
---|---|
void | OperationComplete ( MNcdPurchaseOperation &, TInt ) |
void | PurchaseProgress ( MNcdPurchaseOperation &, TNcdProgress ) |
void | QueryReceived ( MNcdPurchaseOperation &, MNcdQuery *) |
void | OperationComplete | ( | MNcdPurchaseOperation & | aOperation, |
TInt | aError | |||
) | [pure virtual] |
Called when an operation has been completed.
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. |
void | PurchaseProgress | ( | MNcdPurchaseOperation & | aOperation, |
TNcdProgress | aProgress | |||
) | [pure virtual] |
Called when a purchase operation has progressed.
MNcdPurchaseOperation & aOperation | The operation that sent the event. |
TNcdProgress aProgress | Progress of the operation. |
void | QueryReceived | ( | MNcdPurchaseOperation & | aOperation, |
MNcdQuery * | aQuery | |||
) | [pure virtual] |
Called when a query has been received for an operation.
Querys need to be completed with MNcdOperation::CompleteQueryL() to continue the operation! Alternatively, the operation must be cancelled.
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. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.