MNcdNodeDownload Class Reference

class MNcdNodeDownload : public MCatalogsBase

Provides functions for the node that may contains content that can be downloaded. Downloading of the content may be done directly. But often, purchase interface functions should be used first to finnish purcahse operations before downloading the node content. After downloading, the installation interface functions may be called to install the files that have been downloaded.

MNcdNodePurchase MNcdNodeInstall

Inherits from

Constructor & Destructor Documentation

~MNcdNodeDownload()

~MNcdNodeDownload ( ) [protected, inline, virtual]

Member Functions Documentation

DownloadContentL(MNcdDownloadOperationObserver &)

MNcdDownloadOperation * DownloadContentL ( MNcdDownloadOperationObserver & aObserver ) [pure virtual]

Starts the download operation.

Note:

The reference count of the operation object is increased by one. So, Release function of the operation should be called when operation is not needed anymore.

Exceptions
Leave

System wide error code. KNcdErrorParallelOperationNotAllowed if a parallel client is running an operation for the same metadata. See MNcdOperation for full explanation.

Parameters

MNcdDownloadOperationObserver & aObserver Observer for the operation.

IsDownloadedL()

TBool IsDownloadedL ( ) const [pure virtual]

Determines if the node content has already been downloaded.

Exceptions
Leave

System wide error code.