MPresenceBuddyInfo Class Reference

class MPresenceBuddyInfo : public MXIMPBase

Interface buddy presence info. This object has MPresenceInfo and MXIMPIdentity with and service Uid. This interface is implemented by the XIMP Framework Presence Data model. Users of XIMP can not create this object themselves, instead it's created from MPresenceCacheWriter interface.

Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

~MPresenceBuddyInfo()

~MPresenceBuddyInfo()[inline, virtual]

Public destructor. Objects can be deleted through this interface.

Member Functions Documentation

BuddyId()

const MXIMPIdentity *BuddyId()const [pure virtual]

Reads buddy Id.

EqualsIdentity(const MPresenceBuddyInfo *)

TBool EqualsIdentity(const MPresenceBuddyInfo *aOtherInstance)const [pure virtual]

Return true if identity is same with other instance.

Parameters

const MPresenceBuddyInfo * aOtherInstanceother instance of this object.

PresenceInfo()

const MPresenceInfo *PresenceInfo()const [pure virtual]

Reads presence info.

Set(MXIMPIdentity *, MPresenceInfo *)

TInt Set(MXIMPIdentity *aIdentity,
MPresenceInfo *aPresenceInfo
)[pure virtual]

Sets the buddy identity, service and presence info. Takes ownerships.

Parameters

MXIMPIdentity * aIdentity
MPresenceInfo * aPresenceInfofor the buddy. Takes ownership.

SetBuddyId(MXIMPIdentity *)

TInt SetBuddyId(MXIMPIdentity *aIdentity)[pure virtual]

Sets the Buddy Identity.

Parameters

MXIMPIdentity * aIdentityidentity of the buddy. Takes ownership.

SetPersonPresenceL(MPersonPresenceInfo *)

TInt SetPersonPresenceL(MPersonPresenceInfo *aPersonPresenceInfo)[pure virtual]

Sets the buddy's person presence info. Leaves in system errors only.

Parameters

MPersonPresenceInfo * aPersonPresenceInfofor the buddy. Takes ownership.

SetPresenceInfo(MPresenceInfo *)

TInt SetPresenceInfo(MPresenceInfo *aPresenceInfo)[pure virtual]

Sets the presence info.

Parameters

MPresenceInfo * aPresenceInfofor the buddy. Takes ownership.