hyphenate_SDK3.0
3.6.2
hyphenatejavaIMSDK
|
Public Member Functions | |
void | onInvitationReceived (String groupId, String groupName, String inviter, String reason) |
void | onRequestToJoinReceived (String groupId, String groupName, String applicant, String reason) |
void | onRequestToJoinAccepted (String groupId, String groupName, String accepter) |
void | onRequestToJoinDeclined (String groupId, String groupName, String decliner, String reason) |
void | onInvitationAccepted (String groupId, String invitee, String reason) |
void | onInvitationDeclined (String groupId, String invitee, String reason) |
void | onUserRemoved (String groupId, String groupName) |
void | onGroupDestroyed (String groupId, String groupName) |
void | onAutoAcceptInvitationFromGroup (String groupId, String inviter, String inviteMessage) |
void | onMuteListAdded (String groupId, final List< String > mutes, final long muteExpire) |
void | onMuteListRemoved (String groupId, final List< String > mutes) |
void | onAdminAdded (String groupId, String administrator) |
void | onAdminRemoved (String groupId, String administrator) |
void | onOwnerChanged (String groupId, String newOwner, String oldOwner) |
void | onMemberJoined (final String groupId, final String member) |
void | onMemberExited (final String groupId, final String member) |
void | onAnnouncementChanged (String groupId, String announcement) |
void | onSharedFileAdded (String groupId, EMMucSharedFile sharedFile) |
void | onSharedFileDeleted (String groupId, String fileId) |
Group change listener, listen group related events. Such as receive join group invite, and join group application, etc...
void com.hyphenate.EMGroupChangeListener.onAdminAdded | ( | String | groupId, |
String | administrator | ||
) |
Callback when a member has been changed to admin
groupId | group id |
administrator | member who has been changed to admin |
void com.hyphenate.EMGroupChangeListener.onAdminRemoved | ( | String | groupId, |
String | administrator | ||
) |
Callback when member is removed from admin
groupId | group id |
administrator | the member whose admin permission is removed |
void com.hyphenate.EMGroupChangeListener.onAnnouncementChanged | ( | String | groupId, |
String | announcement | ||
) |
callback when the announcement changed
groupId | group id |
announcement | changed announcement |
void com.hyphenate.EMGroupChangeListener.onAutoAcceptInvitationFromGroup | ( | String | groupId, |
String | inviter, | ||
String | inviteMessage | ||
) |
When received group join invitation, will auto accept it and join the group Please refer to com.hyphenate.chat.EMOptions#setAutoAcceptGroupInvitation(boolean value)
groupId | group id |
inviter | |
inviteMessage |
void com.hyphenate.EMGroupChangeListener.onGroupDestroyed | ( | String | groupId, |
String | groupName | ||
) |
group dissolution SDK will delete the group from local DB and local cache, then notify user that the group is destroyed
groupId | group id |
groupName | group name |
void com.hyphenate.EMGroupChangeListener.onInvitationAccepted | ( | String | groupId, |
String | invitee, | ||
String | reason | ||
) |
when the group invitation is accepted
groupId | group id |
invitee | |
reason |
void com.hyphenate.EMGroupChangeListener.onInvitationDeclined | ( | String | groupId, |
String | invitee, | ||
String | reason | ||
) |
when the group invitation is declined
groupId | group id |
invitee | |
reason | reason of declining |
void com.hyphenate.EMGroupChangeListener.onInvitationReceived | ( | String | groupId, |
String | groupName, | ||
String | inviter, | ||
String | reason | ||
) |
when receiving a group invitation
groupId | group id |
groupName | group's subject |
inviter | Who invite you join the group |
reason | Literal message coming with the invitation |
void com.hyphenate.EMGroupChangeListener.onMemberExited | ( | final String | groupId, |
final String | member | ||
) |
Callback when a member exited the group
groupId | group id |
member | the member who exited the group |
void com.hyphenate.EMGroupChangeListener.onMemberJoined | ( | final String | groupId, |
final String | member | ||
) |
Callback when a member join the group.
groupId | group id |
member | new member's id |
void com.hyphenate.EMGroupChangeListener.onMuteListAdded | ( | String | groupId, |
final List< String > | mutes, | ||
final long | muteExpire | ||
) |
Callback when group member(s) is muted (added to mute list), and is not allowed to post message temporarily based on muted time duration
groupId | group id |
mutes | member(s) added to mute list Map.entry.key is muted username. Map.entry.value is the duration of muted time, in milliseconds |
void com.hyphenate.EMGroupChangeListener.onMuteListRemoved | ( | String | groupId, |
final List< String > | mutes | ||
) |
Callback when group member(s) is unmuted (removed from mute list), and allow to post message now
groupId | group id |
mutes | members that be removed from mute list |
void com.hyphenate.EMGroupChangeListener.onOwnerChanged | ( | String | groupId, |
String | newOwner, | ||
String | oldOwner | ||
) |
Callback when chat room ownership has been transferred
groupId | group id |
newOwner | new owner |
oldOwner | previous owner |
void com.hyphenate.EMGroupChangeListener.onRequestToJoinAccepted | ( | String | groupId, |
String | groupName, | ||
String | accepter | ||
) |
when the group invitation is accepted
groupId | group id |
groupName | group's name |
accepter | who approve the application |
void com.hyphenate.EMGroupChangeListener.onRequestToJoinDeclined | ( | String | groupId, |
String | groupName, | ||
String | decliner, | ||
String | reason | ||
) |
when the group invitation is declined
groupId | group id |
groupName | group name |
decliner | decliner's username |
reason | reason of declining |
void com.hyphenate.EMGroupChangeListener.onRequestToJoinReceived | ( | String | groupId, |
String | groupName, | ||
String | applicant, | ||
String | reason | ||
) |
when the group owner receives a group request from user
groupId | group id |
groupName | group's name |
applicant | The applicant want to join the group |
reason | Literal message coming with the application |
void com.hyphenate.EMGroupChangeListener.onSharedFileAdded | ( | String | groupId, |
EMMucSharedFile | sharedFile | ||
) |
callback when a shared file added
groupId | group id |
sharedFile | added file |
void com.hyphenate.EMGroupChangeListener.onSharedFileDeleted | ( | String | groupId, |
String | fileId | ||
) |
callback when a shared file deleted
groupId | group id |
fileId | deleted file id |
void com.hyphenate.EMGroupChangeListener.onUserRemoved | ( | String | groupId, |
String | groupName | ||
) |
current user has been removed from the group
groupId | |
groupName |