MHttpTransferObserver Class Reference

class MHttpTransferObserver

Interface class for transfer events

httptransfer.lib
Since
S60 v3.2

Member Functions Documentation

ReadyForTransferL(TAny *)

void ReadyForTransferL ( TAny * aKey ) [pure virtual]

Callback method to inform that file is ready to be transfered

Since
S60 v3.2

Parameters

TAny * aKey Identifier of the file

TransferCompleted(TAny *, TInt)

void TransferCompleted ( TAny * aKey,
TInt aStatus
) [pure virtual]

Callback method to inform the transfer completion to the observer

Since
S60 v3.2

Parameters

TAny * aKey Identifier of the file
TInt aStatus Status of the process

TransferProgress(TAny *, TInt, TInt)

void TransferProgress ( TAny * aKey,
TInt aBytes,
TInt aTotalBytes
) [pure virtual]

Callback method to inform transfer progress to the observer. Transfer progress is indicated every time httpframework informs that it has received a buffer of data or needs new data to be sent

Since
S60 v3.2

Parameters

TAny * aKey Identifier of the file
TInt aBytes Bytes transferred so far
TInt aTotalBytes Total bytes of the file