| class MNcdDownloadOperationObserver |
Observer interface for download operations
Download operation users should implement this interface to be able to receive callbacks.
| Public Member Functions | |
|---|---|
| void | DownloadProgress ( MNcdDownloadOperation &, TNcdProgress ) |
| void | OperationComplete ( MNcdDownloadOperation &, TInt ) |
| void | QueryReceived ( MNcdDownloadOperation &, MNcdQuery *) |
| void | DownloadProgress | ( | MNcdDownloadOperation & | aOperation, |
| TNcdProgress | aProgress | |||
| ) | [pure virtual] | |||
Called when a download has progressed. The progress value is relative to the current file being downloaded.
| MNcdDownloadOperation & aOperation | The operation that sent the event. |
| TNcdProgress aProgress | Progress of the operation. |
| void | OperationComplete | ( | MNcdDownloadOperation & | aOperation, |
| TInt | aError | |||
| ) | [pure virtual] | |||
Called when an operation has been completed.
| MNcdDownloadOperation & 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 | QueryReceived | ( | MNcdDownloadOperation & | 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.
| MNcdDownloadOperation & aOperation | 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.