MNcdDownloadOperationObserver Class Reference

class MNcdDownloadOperationObserver

Observer interface for download operations

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

Member Functions Documentation

DownloadProgress(MNcdDownloadOperation &, TNcdProgress)

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.

Parameters

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

OperationComplete(MNcdDownloadOperation &, TInt)

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

Called when an operation has been completed.

Parameters

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.

QueryReceived(MNcdDownloadOperation &, MNcdQuery *)

void QueryReceived ( MNcdDownloadOperation & 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 MNcdQuery MNcdOperation::CompleteQueryL()

Parameters

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.