MSenFilesObserver Class Reference

class MSenFilesObserver

Callback interface for transfer progress observer. Typically, this interface is implemented by applications that want to monitor how many bytes (of a file, request, or response) have been sent or received during a transaction. Callback is thus often integrated to progress bar implementations in UI layer. Note: UID of this interface is KSenInterfaceUidFilesObserver.

Public Member Functions
void TransferProgress ( TInt , TBool , const TDesC8 &, const TDesC8 &, TInt )

Member Functions Documentation

TransferProgress(TInt, TBool, const TDesC8 &, const TDesC8 &, TInt)

void TransferProgress ( TInt aTxnId,
TBool aIncoming,
const TDesC8 & aMessage,
const TDesC8 & aCid,
TInt aProgress
) [pure virtual]

This method is called when new part of BLOB is sent or received.

Parameters

TInt aTxnId Transaction ID.
TBool aIncoming ETrue if it is incoming BLOB, EFalse if outgoing.
const TDesC8 & aMessage SOAP message for incoming messages with BLOBs.
const TDesC8 & aCid CID of current BLOB.
TInt aProgress Count of sent/received BLOB bytes.