|
hyphenate_SDK3.0
3.1.4
hyphenatejavaIMSDK
|
Public Member Functions | |
| void | onInvitationReceived (String groupId, String groupName, String inviter, String reason) |
| void | onApplicationReceived (String groupId, String groupName, String applicant, String reason) |
| void | onApplicationAccept (String groupId, String groupName, String accepter) |
| void | onApplicationDeclined (String groupId, String groupName, String decliner, String reason) |
| void | onInvitationAccpted (String groupId, String invitee, String reason) |
| void | onInvitationDeclined (String groupId, String invitee, String reason) |
| void | onUserRemoved (String groupId, String groupName) |
| void | onGroupDestroy (String groupId, String groupName) |
| void | onAutoAcceptInvitationFromGroup (String groupId, String inviter, String inviteMessage) |
Group change listener, listen group related events. Such as receive join group invite, and join group application, etc...
| void com.hyphenate.EMGroupChangeListener.onApplicationAccept | ( | String | groupId, |
| String | groupName, | ||
| String | accepter | ||
| ) |
Join group's application has been approved
| groupId | The group ID |
| groupName | group's name |
| accepter | who approve the application |
| void com.hyphenate.EMGroupChangeListener.onApplicationDeclined | ( | String | groupId, |
| String | groupName, | ||
| String | decliner, | ||
| String | reason | ||
| ) |
Join group's application has been declined
| groupId | The group ID |
| groupName | group's name |
| decliner | decliner's username |
| reason | decline reason |
| void com.hyphenate.EMGroupChangeListener.onApplicationReceived | ( | String | groupId, |
| String | groupName, | ||
| String | applicant, | ||
| String | reason | ||
| ) |
some one want to join the group.
| groupId | The 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.onAutoAcceptInvitationFromGroup | ( | String | groupId, |
| String | inviter, | ||
| String | inviteMessage | ||
| ) |
When receive group join invitation, will auto accept it, and join the group. Please refer to com.hyphenate.chat.EMOptions.setAutoAcceptGroupInvitation(boolean value)
| void com.hyphenate.EMGroupChangeListener.onGroupDestroy | ( | String | groupId, |
| String | groupName | ||
| ) |
group dissolution SDK will delete the group from local DB and local memory cache, then notify user this group has been destroyed
| void com.hyphenate.EMGroupChangeListener.onInvitationAccpted | ( | String | groupId, |
| String | invitee, | ||
| String | reason | ||
| ) |
invite some one to be member of group, and the user has accept the invitation
| groupId | The group ID |
| invitee | |
| reason |
| void com.hyphenate.EMGroupChangeListener.onInvitationDeclined | ( | String | groupId, |
| String | invitee, | ||
| String | reason | ||
| ) |
invite some one to be member of group, and the user has decline the invitation
| groupId | The group ID |
| invitee | |
| reason | refuse reason |
| void com.hyphenate.EMGroupChangeListener.onInvitationReceived | ( | String | groupId, |
| String | groupName, | ||
| String | inviter, | ||
| String | reason | ||
| ) |
current user receive group invitation
| groupId | The group ID. |
| groupName | group's subject |
| inviter | Who invite you join the group |
| reason | Literal message coming with the invitation |
| void com.hyphenate.EMGroupChangeListener.onUserRemoved | ( | String | groupId, |
| String | groupName | ||
| ) |
current user has been remove from the group
| groupId | |
| groupName |
1.8.9.1