new EMGroupManagerListener(manager)
- Source:
EMGroupManagerListener constructor.
Parameters:
Name |
Type |
Description |
manager |
Object
|
|
Methods
onAddAdminFromGroup(callback) → {void}
- Source:
Callback user when promote to group admin.
Parameters:
Returns:
-
Type
-
void
onAddMutesFromGroup(callback) → {void}
- Source:
Callback user when user add to group mute list.
Parameters:
Returns:
-
Type
-
void
onAssignOwnerFromGroup(callback) → {void}
- Source:
Callback user when promote to group owner.
Parameters:
Returns:
-
Type
-
void
onAutoAcceptInvitationFromGroup(callback) → {void}
- Source:
Callback user when user is invited to a group.
Note: User has been added to the group when received this callback.
Parameters:
Returns:
-
Type
-
void
onDeleteSharedFileFromGroup(callback) → {void}
- Source:
Callback user when group admin or owner or file uploader delete share file.
Parameters:
Returns:
-
Type
-
void
onLeaveGroup(callback) → {void}
- Source:
Callback user when user is kicked out from a group or the group is destroyed.
Parameters:
Returns:
-
Type
-
void
onMemberJoinedGroup(callback) → {void}
- Source:
Callback user when a user join the group.
Parameters:
Returns:
-
Type
-
void
onMemberLeftGroup(callback) → {void}
- Source:
Callback user when a user leave the group.
Parameters:
Returns:
-
Type
-
void
onReceiveAcceptionFromGroup(callback) → {void}
- Source:
Callback user when receive owner's approval.
Parameters:
Returns:
-
Type
-
void
onReceiveInviteAcceptionFromGroup(callback) → {void}
- Source:
Callback user when the user accept to join the group.
Parameters:
Returns:
-
Type
-
void
onReceiveInviteDeclineFromGroup(callback) → {void}
- Source:
Callback user when the user decline to join the group.
Parameters:
Returns:
-
Type
-
void
onReceiveInviteFromGroup(callback) → {void}
- Source:
Callback user when user is invited to a group.
Note: User can accept or decline the invitation.
Parameters:
Returns:
-
Type
-
void
onReceiveJoinGroupApplication(callback) → {void}
- Source:
Callback user when receive a join group application.
Parameters:
Returns:
-
Type
-
void
onReceiveRejectionFromGroup(callback) → {void}
- Source:
Callback user when receive group owner's rejection.
Parameters:
Returns:
-
Type
-
void
onRemoveAdminFromGroup(callback) → {void}
- Source:
Callback user when cancel admin.
Parameters:
Returns:
-
Type
-
void
onRemoveMutesFromGroup(callback) → {void}
- Source:
Callback user when user remove from group mute list.
Parameters:
Returns:
-
Type
-
void
onUpdateAnnouncementFromGroup(callback) → {void}
- Source:
Callback user when update group announcement.
Parameters:
Returns:
-
Type
-
void
onUpdateMyGroupList(callback) → {void}
- Source:
Callback user when login user's group list is updated.
Parameters:
Returns:
-
Type
-
void
onUploadSharedFileFromGroup(callback) → {void}
- Source:
Callback user when group member upload share file.
Parameters:
Returns:
-
Type
-
void
(inner) onAddAdminFromGroupCallback(group, admin) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
admin |
String
|
|
Returns:
-
Type
-
void
(inner) onAddMutesFromGroupCallback(group, muteExpire) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
mutes. |
Array
|
String mute array. |
muteExpire |
Number
|
|
Returns:
-
Type
-
void
(inner) onAssignOwnerFromGroupCallback(group, newOwner, oldOwner) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
newOwner |
String
|
|
oldOwner |
String
|
|
Returns:
-
Type
-
void
(inner) onAutoAcceptInvitationFromGroupCallback(group, invitee, inviteMessage) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
invitee |
String
|
|
inviteMessage |
String
|
|
Returns:
-
Type
-
void
(inner) onDeleteSharedFileFromGroupCallback(group, fileId) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
fileId |
String
|
|
Returns:
-
Type
-
void
(inner) onLeaveGroupCallback(group, reason) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
reason |
String
|
|
Returns:
-
Type
-
void
(inner) onMemberJoinedGroupCallback(group, Owner) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
Owner |
String
|
|
Returns:
-
Type
-
void
(inner) onMemberLeftGroupCallback(group, Owner) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
Owner |
String
|
|
Returns:
-
Type
-
void
(inner) onReceiveAcceptionFromGroupCallback(group) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
Returns:
-
Type
-
void
(inner) onReceiveInviteAcceptionFromGroupCallback(group, invitee) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
invitee |
String
|
|
Returns:
-
Type
-
void
(inner) onReceiveInviteDeclineFromGroupCallback(group, invitee, reason) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
invitee |
String
|
|
reason |
String
|
|
Returns:
-
Type
-
void
(inner) onReceiveInviteFromGroupCallback(groupId, inviter, inviteMessage) → {void}
- Source:
Parameters:
Name |
Type |
Description |
groupId |
String
|
|
inviter |
String
|
|
inviteMessage |
String
|
|
Returns:
-
Type
-
void
(inner) onReceiveJoinGroupApplicationCallback(group, from, message) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
from |
String
|
|
message |
String
|
|
Returns:
-
Type
-
void
(inner) onReceiveRejectionFromGroupCallback(groupId, reason) → {void}
- Source:
Parameters:
Name |
Type |
Description |
groupId |
String
|
|
reason |
String
|
|
Returns:
-
Type
-
void
(inner) onRemoveAdminFromGroupCallback(group, admin) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
admin |
String
|
|
Returns:
-
Type
-
void
(inner) onRemoveMutesFromGroupCallback(group) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
mutes. |
Array
|
String mute array. |
Returns:
-
Type
-
void
(inner) onUpdateAnnouncementFromGroupCallback(group, announcement) → {void}
- Source:
Parameters:
Name |
Type |
Description |
group |
EMGroup
|
|
announcement |
String
|
|
Returns:
-
Type
-
void
(inner) onUpdateMyGroupListCallback() → {void}
- Source:
Parameters:
Name |
Type |
Description |
list. |
Array
|
EMGroup array. |
Returns:
-
Type
-
void
(inner) onUploadSharedFileFromGroupCallback(group, sharedFile) → {void}
- Source:
Parameters:
Returns:
-
Type
-
void