MContactPresenceObs Class Reference

class MContactPresenceObs

MContactPresenceObs is an observer interface to receive asynchronous callbacks from MContactPresence methods.

contactpresence.lib
Since
s60 v5.0

Member Functions Documentation

ErrorOccured(TInt, TInt)

void ErrorOccured ( TInt aOpId,
TInt aStatus
) [pure virtual]

Error occurred in MContactPresence::GetPresenceIconFileL or in GetPresenceInfoL request.

Parameters

TInt aOpId Operation ID to identify the operation
TInt aStatus Error status

PresenceSubscribeError(const TDesC8 &, TInt)

void PresenceSubscribeError ( const TDesC8 & aPackedLink,
TInt aStatus
) [pure virtual]

Parameters

const TDesC8 & aPackedLink a packed contact link for phonebook contact
TInt aStatus Error status

ReceiveIconFileL(const TDesC8 &, const TDesC8 &, CFbsBitmap *, CFbsBitmap *)

void ReceiveIconFileL ( const TDesC8 & aBrandId,
const TDesC8 & aElementId,
CFbsBitmap * aBrandedBitmap,
CFbsBitmap * aMask
) [pure virtual]

Receive Icon File. The request is launched by MContactPresence::GetPresenceIconFileL .

Parameters

const TDesC8 & aBrandId branding id to identify branding package
const TDesC8 & aElementId element id in branding package
CFbsBitmap * aBrandedBitmap Bitmap. Ownership is transferred.
CFbsBitmap * aMask Mask bitmap. Ownership is transferred.

ReceiveIconInfoL(const TDesC8 &, const TDesC8 &, const TDesC8 &)

void ReceiveIconInfoL ( const TDesC8 & aPackedLink,
const TDesC8 & aBrandId,
const TDesC8 & aElementId
) [pure virtual]

Receive contact's presence status icon info. The request is launched by MContactPresence::SubscribePresenceInfoL .

Parameters

const TDesC8 & aPackedLink a packed contact link for phonebook contact
const TDesC8 & aBrandId branding id to identify branding package. Zero length data means that icon is not available anymore.
const TDesC8 & aElementId element id in branding package Zero length data means that icon is not available anymore.

ReceiveIconInfosL(const TDesC8 &, RPointerArray< MContactPresenceInfo > &, TInt)

void ReceiveIconInfosL ( const TDesC8 & aPackedLink,
RPointerArray < MContactPresenceInfo > & aInfoArray,
TInt aOpId
) [pure virtual]

Receive contact's presence status icon infos for all services. The request is launched by MContactPresence::GetPresenceInfoL .

Parameters

const TDesC8 & aPackedLink a packed contact link for phonebook contact
RPointerArray < MContactPresenceInfo > & aInfoArray array of icon infos, ownership is not transferred
TInt aOpId Operation ID to identify the operation