agora_chat_SDK
3.8.2
agorajavachatSDK
|
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 | onWhiteListAdded (final String groupId, final List< String > whitelist) |
void | onWhiteListRemoved (final String groupId, final List< String > whitelist) |
void | onAllMemberMuteStateChanged (final String groupId, final boolean isMuted) |
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, MucSharedFile sharedFile) |
void | onSharedFileDeleted (String groupId, String fileId) |
Group change listener Listen group related events. Such as join group application, group manager approve or reject add group application, be kicked and so on
void io.agora.GroupChangeListener.onAdminAdded | ( | String | groupId, |
String | administrator | ||
) |
Call back when a member has been changed to admin
groupId | Group id |
administrator | Member who has been changed to admin |
void io.agora.GroupChangeListener.onAdminRemoved | ( | String | groupId, |
String | administrator | ||
) |
Call back when member is removed from admin
groupId | Group id |
administrator | The member whose admin permission is removed |
void io.agora.GroupChangeListener.onAllMemberMuteStateChanged | ( | final String | groupId, |
final boolean | isMuted | ||
) |
Call back when chat room all members are muted or not
groupId | Group id |
isMuted | Whether the all room members are muted or not |
void io.agora.GroupChangeListener.onAnnouncementChanged | ( | String | groupId, |
String | announcement | ||
) |
Call back when the announcement changed
groupId | Group id |
announcement | Changed announcement |
void io.agora.GroupChangeListener.onAutoAcceptInvitationFromGroup | ( | String | groupId, |
String | inviter, | ||
String | inviteMessage | ||
) |
When received group join invitation, will auto accept it and join the group SDK join the group first, then notify user has accepted invitation and has joined the group Settings see io.agora.chat.ChatOptions#setAutoAcceptGroupInvitation(boolean value)
groupId | Group id |
inviter | Inviter id |
inviteMessage | Inviter message |
void io.agora.GroupChangeListener.onGroupDestroyed | ( | String | groupId, |
String | groupName | ||
) |
Group was disbanded 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 io.agora.GroupChangeListener.onInvitationAccepted | ( | String | groupId, |
String | invitee, | ||
String | reason | ||
) |
When the group invitation is accepted
groupId | Group id |
invitee | Who accept the invitation |
reason | Reason for acceptance |
void io.agora.GroupChangeListener.onInvitationDeclined | ( | String | groupId, |
String | invitee, | ||
String | reason | ||
) |
When the group invitation is declined
groupId | Group id |
invitee | Who decline the invitation |
reason | Reasons for refusal |
void io.agora.GroupChangeListener.onInvitationReceived | ( | String | groupId, |
String | groupName, | ||
String | inviter, | ||
String | reason | ||
) |
When receiving a group invitation
groupId | Group id to join |
groupName | Group's subject to join |
inviter | Who invite you join the group |
reason | Literal message coming with the invitation |
void io.agora.GroupChangeListener.onMemberExited | ( | final String | groupId, |
final String | member | ||
) |
Call back when a member exited the group
groupId | Group id |
member | The member who exited the group |
void io.agora.GroupChangeListener.onMemberJoined | ( | final String | groupId, |
final String | member | ||
) |
Call back when a member join the group
groupId | Group id |
member | New member's id |
void io.agora.GroupChangeListener.onMuteListAdded | ( | String | groupId, |
final List< String > | mutes, | ||
final long | muteExpire | ||
) |
Call back when group member(s) is muted (added to mute list), and is not allowed to post message temporarily based on muted time duration Different from blacklist
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 io.agora.GroupChangeListener.onMuteListRemoved | ( | String | groupId, |
final List< String > | mutes | ||
) |
Call back when group member(s) is unmuted (removed from mute list), and allow to post message now Different from blacklist
groupId | Group id |
mutes | Members that be removed from mute list |
void io.agora.GroupChangeListener.onOwnerChanged | ( | String | groupId, |
String | newOwner, | ||
String | oldOwner | ||
) |
Call back when chat room ownership has been transferred
groupId | Group id |
newOwner | New owner |
oldOwner | Previous owner |
void io.agora.GroupChangeListener.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 io.agora.GroupChangeListener.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 io.agora.GroupChangeListener.onRequestToJoinReceived | ( | String | groupId, |
String | groupName, | ||
String | applicant, | ||
String | reason | ||
) |
When the group owner/administrators 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 io.agora.GroupChangeListener.onSharedFileAdded | ( | String | groupId, |
MucSharedFile | sharedFile | ||
) |
Call back when a shared file is added
groupId | Group id |
sharedFile | Added file |
void io.agora.GroupChangeListener.onSharedFileDeleted | ( | String | groupId, |
String | fileId | ||
) |
callback when a shared file is deleted
groupId | Group id |
fileId | Deleted file id |
void io.agora.GroupChangeListener.onUserRemoved | ( | String | groupId, |
String | groupName | ||
) |
Current user has been removed from the group
groupId | Group id |
groupName | Group name |
void io.agora.GroupChangeListener.onWhiteListAdded | ( | final String | groupId, |
final List< String > | whitelist | ||
) |
Call back when chat room member(s) is added to whitelist
groupId | Group id |
whitelist | Member(s) was added to whitelist |
void io.agora.GroupChangeListener.onWhiteListRemoved | ( | final String | groupId, |
final List< String > | whitelist | ||
) |
Call back when chat room member(s) is removed from whitelist
groupId | Group id |
whitelist | Member(s) was removed from whitelist |