15#import <Foundation/Foundation.h>
24typedef NS_ENUM(NSInteger, EMGroupLeaveReason) {
25 EMGroupLeaveReasonBeRemoved = 0,
26 EMGroupLeaveReasonUserLeave,
27 EMGroupLeaveReasonDestroyed,
66- (void)groupInvitationDidReceive:(NSString *_Nonnull)aGroupId
67 groupName:(NSString *_Nonnull)aGroupName
68 inviter:(NSString *_Nonnull)aInviter
69 message:(NSString *_Nullable)aMessage;
87- (void)groupInvitationDidAccept:(
EMGroup *_Nonnull)aGroup
88 invitee:(NSString *_Nonnull)aInvitee;
109- (void)groupInvitationDidDecline:(
EMGroup *_Nonnull)aGroup
110 invitee:(NSString *_Nonnull)aInvitee
111 reason:(NSString *_Nullable)aReason;
135- (void)didJoinGroup:(
EMGroup *_Nonnull)aGroup
136 inviter:(NSString *_Nonnull)aInviter
137 message:(NSString *_Nullable)aMessage;
152- (void)didLeaveGroup:(
EMGroup *_Nonnull)aGroup
153 reason:(EMGroupLeaveReason)aReason;
174- (void)joinGroupRequestDidReceive:(
EMGroup *_Nonnull)aGroup
175 user:(NSString *_Nonnull)aUsername
176 reason:(NSString *_Nullable)aReason;
193- (void)joinGroupRequestDidDecline:(NSString *_Nonnull)aGroupId
194 reason:(NSString *_Nullable)aReason;
209- (void)joinGroupRequestDidApprove:(
EMGroup *_Nonnull)aGroup;
222- (void)groupListDidUpdate:(NSArray<
EMGroup *> *_Nonnull)aGroupList;
240- (void)groupMuteListDidUpdate:(
EMGroup *_Nonnull)aGroup
241 addedMutedMembers:(NSArray<NSString *> *_Nonnull)aMutedMembers
242 muteExpire:(NSInteger)aMuteExpire;
257- (void)groupMuteListDidUpdate:(
EMGroup *_Nonnull)aGroup
258 removedMutedMembers:(NSArray<NSString *> *_Nonnull)aMutedMembers;
273- (void)groupWhiteListDidUpdate:(
EMGroup *_Nonnull)aGroup
274 addedWhiteListMembers:(NSArray<NSString *> *_Nonnull)aMembers;
289- (void)groupWhiteListDidUpdate:(
EMGroup *_Nonnull)aGroup
290 removedWhiteListMembers:(NSArray<NSString *> *_Nonnull)aMembers;
306- (void)groupAllMemberMuteChanged:(
EMGroup *_Nonnull)aGroup
307 isAllMemberMuted:(BOOL)aMuted;
322- (void)groupAdminListDidUpdate:(
EMGroup *_Nonnull)aGroup
323 addedAdmin:(NSString *_Nonnull)aAdmin;
338- (void)groupAdminListDidUpdate:(
EMGroup *_Nonnull)aGroup
339 removedAdmin:(NSString *_Nonnull)aAdmin;
356- (void)groupOwnerDidUpdate:(
EMGroup *_Nonnull)aGroup
357 newOwner:(NSString *_Nonnull)aNewOwner
358 oldOwner:(NSString *_Nonnull)aOldOwner;
373- (void)userDidJoinGroup:(
EMGroup *_Nonnull)aGroup
374 user:(NSString *_Nonnull)aUsername;
389- (void)userDidLeaveGroup:(
EMGroup *_Nonnull)aGroup
390 user:(NSString *_Nonnull)aUsername;
405- (void)groupAnnouncementDidUpdate:(
EMGroup *_Nonnull)aGroup
406 announcement:(NSString *_Nullable)aAnnouncement;
421- (void)groupFileListDidUpdate:(
EMGroup *_Nonnull)aGroup
437- (void)groupFileListDidUpdate:(
EMGroup *_Nonnull)aGroup
438 removedSharedFile:(NSString *_Nonnull)aFileId;
453 - (void)groupStateChanged:(
EMGroup *)aGroup
454 isDisabled:(BOOL)aDisabled;
467- (void)groupSpecificationDidUpdate:(
EMGroup *)aGroup;
469#pragma mark - Deprecated methods
493- (void)groupInvitationDidReceive:(NSString *)aGroupId
494 inviter:(NSString *)aInviter
495 message:(NSString *)aMessage
496 __deprecated_msg("Use -groupInvitationDidReceive:groupName:inviter:message: instead");
Definition: EMGroupSharedFile.h:24
Definition: EMGroupManagerDelegate.h:40