hyphenate_SDK3.0  3.0.1
hyphenatejavaIMSDK
Public Member Functions | List of all members
com.hyphenate.EMChatRoomChangeListener Interface Reference

Public Member Functions

void onChatRoomDestroyed (String roomId, String roomName)
 
void onMemberJoined (String roomId, String participant)
 
void onMemberExited (String roomId, String roomName, String participant)
 
void onMemberKicked (String roomId, String roomName, String participant)
 

Detailed Description

chat room change listener

Member Function Documentation

void com.hyphenate.EMChatRoomChangeListener.onChatRoomDestroyed ( String  roomId,
String  roomName 
)

callback when chat room is destroyed

Parameters
roomIdchatroom id
roomNamechatroom subject, chatroom's literal description
void com.hyphenate.EMChatRoomChangeListener.onMemberExited ( String  roomId,
String  roomName,
String  participant 
)

Callback when a user exit the chatroom

Parameters
roomIdthe chatroom id which user exited
roomNamethe chatroom's subject, literal description
participantthe member who leaved
void com.hyphenate.EMChatRoomChangeListener.onMemberJoined ( String  roomId,
String  participant 
)

Callback when a user join the chatroom.

Parameters
roomIdchatroom id
participantnew member's username
void com.hyphenate.EMChatRoomChangeListener.onMemberKicked ( String  roomId,
String  roomName,
String  participant 
)

Callback for chatroom's member being kicked off

Parameters
roomIdchatroom id
roomNamechatroom the chatroom's subject, literal description
participantthe member who leaved

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