CCbsMessageClient Class Reference
class CCbsMessageClient : public CBase |
CBS Message API e.g for Cover UI's needs. This API is a smaller snapshot of CBS Client API.
Constructor & Destructor Documentation
CCbsMessageClient()
CCbsMessageClient | ( | ) | [protected] |
Member Functions Documentation
FindMessageByHandle(const TCbsMessageHandle &, TCbsMessage &)
Finds a message by given handle.
FindTopicByNumber(const TCbsTopicNumber, TCbsTopic &)
Finds the topic by the given number.
Return values:
GetMessage(const TCbsTopicNumber, const TInt, TCbsMessage &)
Returns message information.
Parameters
const TCbsTopicNumber aNumber | Number of the topic |
const TInt aIndex | Index to the message in topic. |
TCbsMessage & aMessage | Returns: the message information |
GetMessageContents(const TCbsMessageHandle &, TDes &)
Returns the message contents.
Parameters
const TCbsMessageHandle & aHandle | Handle to the message. |
TDes & aBuffer | It will contain the contents (as much as it fits). |
GetMessageCount(const TCbsTopicNumber, TInt &)
Returns the total amount of messages the topic contains.
Return codes:
Parameters
const TCbsTopicNumber aNumber | Number of the topic. |
TInt & aCount | Number of messages in given topic. |
GetTopic(const TInt, TCbsTopic &)
Returns information about a topic from the topic list.
Parameters
const TInt aIndex | Index to the topic. |
TCbsTopic & aTopic | It will contain the topic information. |
NewL()
Instantiates new CCbsMessageClient object. During instantaion connection to CBS Server is created.
SetMessageAsRead(const TCbsMessageHandle &)
Sets the message as read.
TopicCount()
IMPORT_C TInt | TopicCount | ( | ) | [pure virtual] |
Returns the total amount of topics the topic list contains.
UnreadMessageCount()
IMPORT_C TInt | UnreadMessageCount | ( | ) | [pure virtual] |
Returns the total amount of unread messages.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.