MSenFilesObserver Class Reference

#include <mw/MSenServiceConsumer.h>

class MSenFilesObserver
Public Member Functions
pure virtual voidTransferProgress(TInt, TBool, const TDesC8 &, const TDesC8 &, TInt)

Detailed Description

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.

Member Function Documentation

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

voidTransferProgress(TIntaTxnId,
TBoolaIncoming,
const TDesC8 &aMessage,
const TDesC8 &aCid,
TIntaProgress
)[pure virtual]

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

ParameterDescription
aTxnIdTransaction ID.
aIncomingETrue if it is incoming BLOB, EFalse if outgoing.
aMessageSOAP message for incoming messages with BLOBs.
aCidCID of current BLOB.
aProgressCount of sent/received BLOB bytes.