#import <AgoraGroupManagerDelegate.h>
User B will receive this callback after SDK automatically accept user A's group invitation. Set AgoraOptions's isAutoAcceptGroupInvitation property to YES for this delegate method
- Parameters
-
aGroup | Group instance |
aInviter | Inviter |
aMessage | Invite message |
- (void) didJoinGroup: |
|
(AgoraGroup *) |
aGroup |
inviter: |
|
(NSString *) |
aInviter |
message: |
|
(NSString *) |
aMessage |
|
|
| |
|
optional |
Delegate method will be invoked after SDK automatically accepted the group invitation
User B will receive this callback after SDK automatically accept user A's group invitation, need set AgoraOptions's isAutoAcceptGroupInvitation property to YES
- Parameters
-
aGroup | Group instance |
aInviter | Inviter |
aMessage | Invite message |
- (void) didLeaveGroup: |
|
(AgoraGroup *) |
aGroup |
reason: |
|
(AgoraGroupLeaveReason) |
aReason |
|
|
| |
|
optional |
Delegate method will be invoked when user leaves a group
- Parameters
-
aGroup | Group instance |
aReason | Leave reason |
Delegate method will be invoked when a group invitation is accepted
After user B accepted user A‘s group invitation, user A will receive this callback
- Parameters
-
aGroup | Group instance |
aInvitee | Invitee |
User A will receive this callback after group's owner accepted it's application, group's style is AgoraGroupStylePublicJoinNeedApproval
- Parameters
-
Delegate method will be invoked when a group invitation is declined
After user B declined user A's group invitation, user A will receive the callback
- Parameters
-
aGroup | Group instance |
aInvitee | Invitee |
aReason | Decline reason |
User A will receive this callback after group's owner declined the join group request
- Parameters
-
aGroupId | Group id |
aReason | Decline reason |
Delegate method will be invoked when user receives a group invitation
After user A invites user B into the group, user B will receive this callback
- Parameters
-
aGroupId | The group ID |
aInviter | Inviter |
aMessage | Invite message |
Group's owner receive user's applicaton of joining group, group's style is AgoraGroupStylePublicJoinNeedApproval
- Parameters
-
aGroup | Group |
aApplicant | The applicant |
aReason | Applicant's ancillary information |
Callback of leave group
- Parameters
-
aGroup | Group instance |
aReason | Leave reason |
Group List changed
- Parameters
-
aGroupList | Group list<AgoraGroup> |
- (void) groupAdminListDidUpdate: |
|
(AgoraGroup *) |
aGroup |
addedAdmin: |
|
(NSString *) |
aAdmin |
|
|
| |
|
optional |
User is added to the admin list
- Parameters
-
aGroup | Group instance |
aAdmin | User to be added to adminList |
- (void) groupAdminListDidUpdate: |
|
(AgoraGroup *) |
aGroup |
removedAdmin: |
|
(NSString *) |
aAdmin |
|
|
| |
|
optional |
User is removed to the admin list
- Parameters
-
aGroup | Group instance |
aAdmin | User to be removed from adminList |
- (void) groupAllMemberMuteChanged: |
|
(AgoraGroup *) |
aGroup |
isAllMemberMuted: |
|
(BOOL) |
aMuted |
|
|
| |
|
optional |
Group members are all muted
- Parameters
-
aGroup | Group instance |
aMuted | Whether all member be muted |
- (void) groupAnnouncementDidUpdate: |
|
(AgoraGroup *) |
aGroup |
announcement: |
|
(NSString *) |
aAnnouncement |
|
|
| |
|
optional |
Delegate method will be invoked when a user update the announcement from a group.
- Parameters
-
aGroup | Group instance |
aAnnouncement | Group announcement |
Delegate method will be invoked when a user upload share file to a group.
- Parameters
-
aGroup | Group instance |
aSharedFile | Sharefile |
- (void) groupFileListDidUpdate: |
|
(AgoraGroup *) |
aGroup |
removedSharedFile: |
|
(NSString *) |
aFileId |
|
|
| |
|
optional |
Delegate method will be invoked when a user remove share file from a group.
- Parameters
-
aGroup | Group instance |
aFileId | Sharefile ID |
- (void) groupInvitationDidAccept: |
|
(AgoraGroup *) |
aGroup |
invitee: |
|
(NSString *) |
aInvitee |
|
|
| |
|
optional |
Delegate method will be invoked when the group invitation is accepted
After user B accepted user A‘s group invitation, user A will receive this callback
- Parameters
-
aGroup | User joined group |
aInvitee | Invitee |
- (void) groupInvitationDidDecline: |
|
(AgoraGroup *) |
aGroup |
invitee: |
|
(NSString *) |
aInvitee |
reason: |
|
(NSString *) |
aReason |
|
|
| |
|
optional |
Delegate method will be invoked when the group invitation is declined.
After user B declined user A's group invitation, user A will receive the callback
- Parameters
-
aGroup | Group instance |
aInvitee | Invitee |
aReason | Decline reason |
- (void) groupInvitationDidReceive: |
|
(NSString *) |
aGroupId |
inviter: |
|
(NSString *) |
aInviter |
message: |
|
(NSString *) |
aMessage |
|
|
| |
|
optional |
Delegate method will be invoked when receiving a group invitation
After user A invites user B into the group, user B will receive this callback
- Parameters
-
aGroupId | The group ID |
aInviter | Inviter |
aMessage | Invitation message |
- (void) groupListDidUpdate: |
|
(NSArray *) |
aGroupList |
|
|
optional |
Group List updated
- Parameters
-
aGroupList | Group NSArray<AgoraGroup> |
- (void) groupMuteListDidUpdate: |
|
(AgoraGroup *) |
aGroup |
addedMutedMembers: |
|
(NSArray *) |
aMutedMembers |
muteExpire: |
|
(NSInteger) |
aMuteExpire |
|
|
| |
|
optional |
Users are added to the mute list
- Parameters
-
aGroup | Group instance |
aMutedMembers | Users to be added |
aMuteExpire | Mute expire, not available at this time |
- (void) groupMuteListDidUpdate: |
|
(AgoraGroup *) |
aGroup |
removedMutedMembers: |
|
(NSArray *) |
aMutedMembers |
|
|
| |
|
optional |
Users are removed from the mute list
- Parameters
-
aGroup | Group instance |
aMutedMembers | Users to be removed from mute list |
- (void) groupOwnerDidUpdate: |
|
(AgoraGroup *) |
aGroup |
newOwner: |
|
(NSString *) |
aNewOwner |
oldOwner: |
|
(NSString *) |
aOldOwner |
|
|
| |
|
optional |
Owner is updated
- Parameters
-
aGroup | Group instance |
aNewOwner | New Owner |
aOldOwner | Old Owner |
- (void) groupWhiteListDidUpdate: |
|
(AgoraGroup *) |
aGroup |
addedWhiteListMembers: |
|
(NSArray *) |
aMembers |
|
|
| |
|
optional |
Users are added to the white list
- Parameters
-
aGroup | Group instance |
aMembers | Users to be added to whiteList |
- (void) groupWhiteListDidUpdate: |
|
(AgoraGroup *) |
aGroup |
removedWhiteListMembers: |
|
(NSArray *) |
aMembers |
|
|
| |
|
optional |
Users are removed from the white list
- Parameters
-
aGroup | Group instance |
aMembers | Users to be removed from whiteList |
- (void) joinGroupRequestDidApprove: |
|
(AgoraGroup *) |
aGroup |
|
|
optional |
Delegate method will be invoked when the group owner approves a join group request
User A will receive this callback after group's owner approve the group request, group's style is AgoraGroupStylePublicJoinNeedApproval
- Parameters
-
- (void) joinGroupRequestDidDecline: |
|
(NSString *) |
aGroupId |
reason: |
|
(NSString *) |
aReason |
|
|
| |
|
optional |
Delegate method will be invoked when the group owner declines a join group request
User A will receive this callback after group's owner declined the group request, group's style is AgoraGroupStylePublicJoinNeedApproval
- Parameters
-
aGroupId | Group id |
aReason | Decline reason |
- (void) joinGroupRequestDidReceive: |
|
(AgoraGroup *) |
aGroup |
user: |
|
(NSString *) |
aUsername |
reason: |
|
(NSString *) |
aReason |
|
|
| |
|
optional |
Delegate method will be invoked when the group owner receives a group request and group's style is AgoraGroupStylePublicJoinNeedApproval
- Parameters
-
aGroup | Group instance |
aUsername | The user initialized the group join request |
aReason | Applicant's ancillary information |
- (void) userDidJoinGroup: |
|
(AgoraGroup *) |
aGroup |
user: |
|
(NSString *) |
aUsername |
|
|
| |
|
optional |
Delegate method will be invoked when a user joins a group.
- Parameters
-
aGroup | Joined group |
aUsername | The user who joined group |
- (void) userDidLeaveGroup: |
|
(AgoraGroup *) |
aGroup |
user: |
|
(NSString *) |
aUsername |
|
|
| |
|
optional |
Delegate method will be invoked when a user leaves a group.
- Parameters
-
aGroup | Left group |
aUsername | The user who leaved group |
The documentation for this protocol was generated from the following file: