Easemob Windows SDK
Public Types | Public Member Functions | List of all members
easemob::EMChatroom Class Reference
Inheritance diagram for easemob::EMChatroom:
Inheritance graph
Collaboration diagram for easemob::EMChatroom:
Collaboration graph

Public Types

enum  EMChatroomLeaveReason { BE_KICKED, DESTROYED }
 

Public Member Functions

const std::string & chatroomId () const
 Get chatroom's ID. More...
 
const std::string & chatroomSubject () const
 Get chatroom's subject. More...
 
const std::string & chatroomDescription () const
 Get chatroom's description. More...
 
const std::string & owner () const
 Get chatroom's owner. More...
 
int chatroomMemberCount () const
 Get current members count. More...
 
int chatroomMemberMaxCount () const
 Get max count of chatroom member. More...
 
EMChatroomMemberList chatroomMembers () const
 Get chatroom's member list. More...
 
- Public Member Functions inherited from easemob::EMBaseObject
template<typename T >
T * cast ()
 

Member Function Documentation

§ chatroomDescription()

const std::string& easemob::EMChatroom::chatroomDescription ( ) const

Get chatroom's description.

Parameters
NA
Returns
Chatroom's description.

§ chatroomId()

const std::string& easemob::EMChatroom::chatroomId ( ) const

Get chatroom's ID.

Parameters
NA
Returns
Chatroom's ID.

§ chatroomMemberCount()

int easemob::EMChatroom::chatroomMemberCount ( ) const

Get current members count.

Note: Will return 0 if have not ever got chatroom's specification.

Parameters
NA
Returns
Member count

§ chatroomMemberMaxCount()

int easemob::EMChatroom::chatroomMemberMaxCount ( ) const

Get max count of chatroom member.

Note: Will return 0 if have not ever got chatroom's specification.

Parameters
NA
Returns
Max count of chatroom member.

§ chatroomMembers()

EMChatroomMemberList easemob::EMChatroom::chatroomMembers ( ) const

Get chatroom's member list.

Note: Will return empty list if have not ever got chatroom's specification.

Parameters
NA
Returns
Chatroom's member list.

§ chatroomSubject()

const std::string& easemob::EMChatroom::chatroomSubject ( ) const

Get chatroom's subject.

Parameters
NA
Returns
Chatroom's subject

§ owner()

const std::string& easemob::EMChatroom::owner ( ) const

Get chatroom's owner.

Parameters
NA
Returns
Chatroom's owner

The documentation for this class was generated from the following file: