|
void | onChatRoomDestroyed (final String roomId, final String roomName) |
|
void | onMemberJoined (final String roomId, final String participant) |
|
void | onMemberExited (final String roomId, final String roomName, final String participant) |
|
void | onRemovedFromChatRoom (final int reason, final String roomId, final String roomName, final String participant) |
|
void | onMuteListAdded (final String chatRoomId, final List< String > mutes, final long expireTime) |
|
void | onMuteListRemoved (final String chatRoomId, final List< String > mutes) |
|
void | onWhiteListAdded (final String chatRoomId, final List< String > whitelist) |
|
void | onWhiteListRemoved (final String chatRoomId, final List< String > whitelist) |
|
void | onAllMemberMuteStateChanged (final String chatRoomId, final boolean isMuted) |
|
void | onAdminAdded (final String chatRoomId, final String admin) |
|
void | onAdminRemoved (final String chatRoomId, final String admin) |
|
void | onOwnerChanged (final String chatRoomId, final String newOwner, final String oldOwner) |
|
void | onAnnouncementChanged (String chatRoomId, String announcement) |
|
◆ onAdminAdded()
void com.hyphenate.EMChatRoomChangeListener.onAdminAdded |
( |
final String |
chatRoomId, |
|
|
final String |
admin |
|
) |
| |
Callback when a member has been changed to admin
- Parameters
-
chatRoomId | chatroom id |
admin | member who has been changed to admin |
◆ onAdminRemoved()
void com.hyphenate.EMChatRoomChangeListener.onAdminRemoved |
( |
final String |
chatRoomId, |
|
|
final String |
admin |
|
) |
| |
Callback when member is removed from admin
- Parameters
-
chatRoomId | chatroom id |
admin | the member whose admin permission is removed |
◆ onAllMemberMuteStateChanged()
void com.hyphenate.EMChatRoomChangeListener.onAllMemberMuteStateChanged |
( |
final String |
chatRoomId, |
|
|
final boolean |
isMuted |
|
) |
| |
Callback when chat room all memeber muted or not
- Parameters
-
chatRoomId | chatroom id |
isMuted | if the all room memmber is muted or not |
◆ onAnnouncementChanged()
void com.hyphenate.EMChatRoomChangeListener.onAnnouncementChanged |
( |
String |
chatRoomId, |
|
|
String |
announcement |
|
) |
| |
callback when the announcement changed
- Parameters
-
chatRoomId | chatroom id |
announcement | changed announcement |
◆ onChatRoomDestroyed()
void com.hyphenate.EMChatRoomChangeListener.onChatRoomDestroyed |
( |
final String |
roomId, |
|
|
final String |
roomName |
|
) |
| |
callback when chat room is destroyed
- Parameters
-
roomId | chatroom id |
roomName | chatroom subject |
◆ onMemberExited()
void com.hyphenate.EMChatRoomChangeListener.onMemberExited |
( |
final String |
roomId, |
|
|
final String |
roomName, |
|
|
final String |
participant |
|
) |
| |
Callback when a member exited the chatroom
- Parameters
-
roomId | chatroom id |
roomName | chatroom's subject |
participant | the member who exited the chatroom |
◆ onMemberJoined()
void com.hyphenate.EMChatRoomChangeListener.onMemberJoined |
( |
final String |
roomId, |
|
|
final String |
participant |
|
) |
| |
Callback when a member join the chatroom.
- Parameters
-
roomId | chatroom id |
participant | new member's username |
◆ onMuteListAdded()
void com.hyphenate.EMChatRoomChangeListener.onMuteListAdded |
( |
final String |
chatRoomId, |
|
|
final List< String > |
mutes, |
|
|
final long |
expireTime |
|
) |
| |
Callback when chat room member(s) is muted (added to mute list), and is not allowed to post message temporarily based on muted time duration
- Parameters
-
chatRoomId | chatroom id |
mutes | muted username |
expireTime | mute operation expired time |
◆ onMuteListRemoved()
void com.hyphenate.EMChatRoomChangeListener.onMuteListRemoved |
( |
final String |
chatRoomId, |
|
|
final List< String > |
mutes |
|
) |
| |
Callback when chat room member(s) is unmuted (removed from mute list), and allow to post message now
- Parameters
-
chatRoomId | chatroom id |
mutes | member(s) muted was removed from the mute list |
◆ onOwnerChanged()
void com.hyphenate.EMChatRoomChangeListener.onOwnerChanged |
( |
final String |
chatRoomId, |
|
|
final String |
newOwner, |
|
|
final String |
oldOwner |
|
) |
| |
Callback when chat room ownership has been transferred
- Parameters
-
chatRoomId | chatroom id |
newOwner | new owner |
oldOwner | previous owner |
◆ onRemovedFromChatRoom()
void com.hyphenate.EMChatRoomChangeListener.onRemovedFromChatRoom |
( |
final int |
reason, |
|
|
final String |
roomId, |
|
|
final String |
roomName, |
|
|
final String |
participant |
|
) |
| |
Callback when a member is dismissed from a chat room
- Parameters
-
◆ onWhiteListAdded()
void com.hyphenate.EMChatRoomChangeListener.onWhiteListAdded |
( |
final String |
chatRoomId, |
|
|
final List< String > |
whitelist |
|
) |
| |
Callback when chat room member(s) is added to whitelist
- Parameters
-
chatRoomId | chatroom id |
whitelist | member(s) was added to whitelist |
◆ onWhiteListRemoved()
void com.hyphenate.EMChatRoomChangeListener.onWhiteListRemoved |
( |
final String |
chatRoomId, |
|
|
final List< String > |
whitelist |
|
) |
| |
Callback when chat room member(s) is removed from whitelist
- Parameters
-
chatRoomId | chatroom id |
whitelist | member(s) was removed from whitelist |
The documentation for this interface was generated from the following file:
- hyphenatechatsdk/src/com/hyphenate/EMChatRoomChangeListener.java