MIMCacheAccessor Class Reference

class MIMCacheAccessor

An interface for updating conversation information

Since
5.0

Constructor & Destructor Documentation

~MIMCacheAccessor()

~MIMCacheAccessor()[protected, inline, virtual]

Destructor

Member Functions Documentation

CloseConversationL(const TDesC &)

voidCloseConversationL(const TDesC &aBuddyId)[pure virtual]

closes conversation and commit operation

Parameters

const TDesC & aBuddyId

GetAllUnreadMessageCountL()

TInt GetAllUnreadMessageCountL()[pure virtual]

to get the all unread message count from server

GetChatListL(const TInt)

RArray< SIMCacheChatItem >GetChatListL(const TIntaServiceId)[pure virtual]

get the chat list corresponding to service

Parameters

const TInt aServiceIdservice id

GetUnreadMessageCountL(const TDesC &)

TInt GetUnreadMessageCountL(const TDesC &aBuddyId)[pure virtual]

to get the unread message count from server

Parameters

const TDesC & aBuddyId

IsConversationExistL(const TDesC &)

TBool IsConversationExistL(const TDesC &aBuddyId)[pure virtual]

check if already conversation opened

Parameters

const TDesC & aBuddyId

RegisterObserverL(MIMCacheEventHandler &)

voidRegisterObserverL(MIMCacheEventHandler &aObserver)[pure virtual]

Register to observer conversation data updates

Parameters

MIMCacheEventHandler & aObserverthe observer interface

UnRegisterObserver(MIMCacheEventHandler &)

voidUnRegisterObserver(MIMCacheEventHandler &aObserver)[pure virtual]

Unregister a conversation data update observer

Parameters

MIMCacheEventHandler & aObserverthe observer interface