MHttpTransferObserver Class Reference

class MHttpTransferObserver

Interface class for transfer events

httptransfer.lib
Since
S60 v3.2
Public Member Functions
voidReadyForTransferL(TAny *)
voidTransferCompleted(TAny *, TInt)
voidTransferProgress(TAny *, TInt, TInt)

Member Functions Documentation

ReadyForTransferL(TAny *)

voidReadyForTransferL(TAny *aKey)[pure virtual]

Callback method to inform that file is ready to be transfered

Since
S60 v3.2

Parameters

TAny * aKeyIdentifier of the file

TransferCompleted(TAny *, TInt)

voidTransferCompleted(TAny *aKey,
TIntaStatus
)[pure virtual]

Callback method to inform the transfer completion to the observer

Since
S60 v3.2

Parameters

TAny * aKeyIdentifier of the file
TInt aStatusStatus of the process

TransferProgress(TAny *, TInt, TInt)

voidTransferProgress(TAny *aKey,
TIntaBytes,
TIntaTotalBytes
)[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 * aKeyIdentifier of the file
TInt aBytesBytes transferred so far
TInt aTotalBytesTotal bytes of the file