MPresenceBuddyInfoList Class Reference

class MPresenceBuddyInfoList : public MXIMPBase

Interface for buddy presence info list. This object has a pointer array of MPresenceBuddyInfo(s). 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

~MPresenceBuddyInfoList()

~MPresenceBuddyInfoList()[inline, virtual]

Public destructor. Objects can be deleted through this interface.

Member Functions Documentation

AddOrReplace(MPresenceBuddyInfo *)

TInt AddOrReplace(MPresenceBuddyInfo *aBuddyPresenceInfo)[pure virtual]

Add or replace the buddy presence info object in this collection. The object will be replaced if found same used id and service. Takes Ownership.

Parameters

MPresenceBuddyInfo * aBuddyPresenceInfoobject to add or replace.

Count()

TInt Count()const [pure virtual]

Number of MPresenceBuddyInfo.

FindAndGet(const MXIMPIdentity &)

MPresenceBuddyInfo *FindAndGet(const MXIMPIdentity &aIdentity)const [pure virtual]

Find and get the first found buddy presence info object matching given identity. A Null pointer will be returned if object with same identity not found. ownership remains to callee.

Parameters

const MXIMPIdentity & aIdentityto be matched for.

FindAndRemove(const MXIMPIdentity &)

TInt FindAndRemove(const MXIMPIdentity &aIdentity)[pure virtual]

Find and remove the buddy presence info object matching given identity. The first found object will be removed with same identity.

Parameters

const MXIMPIdentity & aIdentityto be matched for.

GetObjectCollection()

RPointerArray< MPresenceBuddyInfo > &GetObjectCollection()[pure virtual]

Gets reference to object collection.

ServiceName()

TPtrC ServiceName()const [pure virtual]

Service name accessor.