HyphenateChatSDK 3.9.9.1
EMCircleManagerServerDelegate.h
1//
2// EMCircleManagerServerDelegate.h
3// HyphenateChat
4//
5// Created by 冯钊 on 2022/6/28.
6// Copyright © 2022 easemob.com. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "EMCircleServerEvent.h"
11#import "EMCircleUser.h"
12#import "EMCircleServer.h"
13
14NS_ASSUME_NONNULL_BEGIN
15
17@optional
18
25- (void)onServerCreated:(EMCircleServer *)server;
35- (void)onServerDestroyed:(NSString *)serverId initiator:(NSString *)initiator;
36
45- (void)onServerUpdated:(EMCircleServerEvent *)event;
46
56- (void)onMemberJoinedServer:(NSString *)serverId member:(NSString *)member;
57
67- (void)onMemberLeftServer:(NSString *)serverId member:(NSString *)member;
68
78- (void)onMemberRemovedFromServer:(NSString *)serverId members:(NSArray<NSString *> *)members;
79
89- (void)onReceiveServerInvitation:(EMCircleServerEvent *)event inviter:(NSString *)inviter;
90
100- (void)onServerInvitationBeAccepted:(NSString *)serverId invitee:(NSString *)invitee;
101
111- (void)onServerInvitationBeDeclined:(NSString *)serverId invitee:(NSString *)invitee;
112
123- (void)onServerRoleAssigned:(NSString *)serverId member:(NSString *)member role:(EMCircleUserRole)role;
124
125@end
126
127NS_ASSUME_NONNULL_END
Definition: EMCircleServerEvent.h:14
Definition: EMCircleServer.h:26
Definition: EMCircleManagerServerDelegate.h:16