register chat room change listener
- Parameters
-
EMChatRoom com.hyphenate.chat.EMChatRoomManager.fetchChatRoomFromServer |
( |
String |
roomId | ) |
throws HyphenateException |
fetch the chat room by room id
- Parameters
-
- Returns
- EMChatRoom
- Exceptions
-
EMCursorResult<EMChatRoom> com.hyphenate.chat.EMChatRoomManager.fetchPublicChatRoomsFromServer |
( |
int |
pageSize, |
|
|
String |
cursor |
|
) |
| throws HyphenateException |
fetch the chatroom in page synchronoulsy this is a time consuming ooperation
- Parameters
-
pageSize | how many chat room to get |
cursor | cursor position |
- Returns
- EMResult<EMChatRoom>List<EMChatRoom>
- Exceptions
-
List<EMChatRoom> com.hyphenate.chat.EMChatRoomManager.getAllChatRooms |
( |
| ) |
|
get all chat rooms in the cache
- Returns
EMChatRoom com.hyphenate.chat.EMChatRoomManager.getChatRoom |
( |
String |
roomId | ) |
|
get the chat room in the cache
- Parameters
-
- Returns
join the chat room asynchronously
- Parameters
-
roomId | chat room id |
callback | callback for success or fail |
void com.hyphenate.chat.EMChatRoomManager.leaveChatRoom |
( |
final String |
roomId | ) |
|
leave the chat room asynchronously
- Parameters
-
remove chat room change listener
- Parameters
-
The documentation for this class was generated from the following file:
- hyphenatechatsdk/src/com/hyphenate/chat/EMChatRoomManager.java